net/can: can_dropped_invalid_skb can be boolean
authorYaowei Bai <bywxiaobai@163.com>
Thu, 8 Oct 2015 13:28:57 +0000 (21:28 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Oct 2015 14:49:01 +0000 (07:49 -0700)
commitd6fbaea5f635216c9861587c4e658086cf3b1b6b
treeaec4e0998c31fd5424da3426f9fde33e29d0e265
parent875e08294911b3cb8c60416d64d990809421de29
net/can: can_dropped_invalid_skb can be boolean

This patch makes can_dropped_invalid_skb 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>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/can/dev.h