net/ieee80211: ieee80211_is_* can be boolean
authorYaowei Bai <bywxiaobai@163.com>
Thu, 8 Oct 2015 13:28:55 +0000 (21:28 +0800)
committerChristian Lamparter <chunkeey@googlemail.com>
Wed, 27 Apr 2016 13:37:26 +0000 (15:37 +0200)
commite2ba6e62e5046024af07afc58cec5709eb51406a
tree1312a1d682b31f8eca324c3356ec7ac1a636926e
parent70366bce2fdd5d84e5c9cff4766987d9ab94992a
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>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
include/linux/ieee80211.h