net/inetdevice: bad_mask can be boolean
authorYaowei Bai <bywxiaobai@163.com>
Thu, 8 Oct 2015 13:29:01 +0000 (21:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Oct 2015 14:49:05 +0000 (07:49 -0700)
commitf06cc7b284f3dfb2c5decbf9fde711b50a530050
treeaba136a28deafd4b74df4794eea4dc4da4554157
parentc3225164cf60ccecce2459dcb5813dd798233f2d
net/inetdevice: bad_mask can be boolean

This patch makes bad_mask return bool due to this particular function
only using either one or zero as its return value.

No functional change.

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