summaryrefslogtreecommitdiff
path: root/net/ax25/ax25_dev.c
diff options
context:
space:
mode:
authorJoão Paulo Rechi Vita <jprvita@gmail.com>2016-01-19 18:42:37 +0300
committerJohannes Berg <johannes.berg@intel.com>2016-02-24 11:04:23 +0300
commitf3e7fae248224b9441098e3c344b48b1cd1d9eca (patch)
tree8aad5c69e395c7b5917ead5f283208bb38840be1 /net/ax25/ax25_dev.c
parent573a2b51acb48e745094cf3cb942cf6a55d2bf30 (diff)
downloadlinux-f3e7fae248224b9441098e3c344b48b1cd1d9eca.tar.xz
rfkill: use variable instead of duplicating the expression
RFKILL_BLOCK_SW value have just been saved to prev, no need to check it again in the if expression. This makes code a little bit easier to read. Signed-off-by: João Paulo Rechi Vita <jprvita@endlessm.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/ax25/ax25_dev.c')
0 files changed, 0 insertions, 0 deletions