diff options
author | Johannes Berg <johannes.berg@intel.com> | 2016-12-13 09:38:25 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-12-13 16:04:35 +0100 |
commit | 74204f8fa117e7d0fa1d1a7a57c3c97df83ad418 (patch) | |
tree | 2580bf12b385ad02bef1e270fa2a748cda23386a /net/wireless | |
parent | 8fa3b6f9392bf6d90cb7b908e07bd90166639f0a (diff) | |
download | linux-74204f8fa117e7d0fa1d1a7a57c3c97df83ad418.tar.gz linux-74204f8fa117e7d0fa1d1a7a57c3c97df83ad418.tar.bz2 linux-74204f8fa117e7d0fa1d1a7a57c3c97df83ad418.zip |
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>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions