]> git.baikalelectronics.ru Git - kernel.git/commit
rfkill: remove/inline __rfkill_set_hw_state
authorJoão Paulo Rechi Vita <jprvita@gmail.com>
Tue, 19 Jan 2016 15:42:38 +0000 (10:42 -0500)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 24 Feb 2016 08:04:24 +0000 (09:04 +0100)
commit3e3db4ce60b99ae2932cecd08010a4409b803a9e
tree98da81097a453d8be9925a517f362ddb2523008d
parenta7d2612097f591fed5cabd6e84c828afc4b90660
rfkill: remove/inline __rfkill_set_hw_state

__rfkill_set_hw_state() is only one used in rfkill_set_hw_state(), and
none of them are long or complicated, so merging the two makes the code
easier to read.

Signed-off-by: João Paulo Rechi Vita <jprvita@endlessm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/rfkill/core.c