net/dccp: dccp_list_has_service can be boolean
authorYaowei Bai <bywxiaobai@163.com>
Thu, 8 Oct 2015 13:28:58 +0000 (21:28 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Oct 2015 14:49:02 +0000 (07:49 -0700)
commit0c6119d99bf5df9403a688d267537284e9cc8bcb
tree935a1f2379eaa3f2c35429042a692c4a7f4df8d5
parentd6fbaea5f635216c9861587c4e658086cf3b1b6b
net/dccp: dccp_list_has_service can be boolean

This patch makes dccp_list_has_service 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/dccp.h