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)
commit1926e260d8d377b95b57a49eefeb54ac42919f53
tree98da81097a453d8be9925a517f362ddb2523008d
parentf3e7fae248224b9441098e3c344b48b1cd1d9eca
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