]> 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)
commit909f1ec9c4528babd8d30dd905aa991e9b79f72d
tree98da81097a453d8be9925a517f362ddb2523008d
parent1fc4db0395153df42569f26c089a39f06072dbd2
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