commit | 74204f8fa117e7d0fa1d1a7a57c3c97df83ad418 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Tue Dec 13 09:38:25 2016 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Tue Dec 13 16:04:35 2016 +0100 |
tree | 2580bf12b385ad02bef1e270fa2a748cda23386a | |
parent | 8fa3b6f9392bf6d90cb7b908e07bd90166639f0a [diff] |
rfkill: simplify rfkill_set_hw_state() slightly Simplify the two conditions gating the schedule_work() into a single one and get rid of the additional exit point from the function in doing so. Signed-off-by: Johannes Berg <johannes.berg@intel.com>