]> git.baikalelectronics.ru Git - kernel.git/commit
net/ieee80211: ieee80211_is_* can be boolean
authorYaowei Bai <bywxiaobai@163.com>
Thu, 8 Oct 2015 13:28:55 +0000 (21:28 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Oct 2015 14:48:59 +0000 (07:48 -0700)
commit1b5f05dfc72037c6006e178074976aeea48015f9
tree1685c85b4cf7ea02a47725e3efe421be6dac8e31
parent497068c1dddcc7e0eae5875fc1200331fd8e0554
net/ieee80211: ieee80211_is_* can be boolean

This patch makes ieee80211_is_* return bool to improve
readability due to these particular functions only using either
one or zero as their return value.

No functional change.

Signed-off-by: Yaowei Bai <bywxiaobai@163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ieee80211.h