net/dccp: dccp_bad_service_code can be boolean
authorYaowei Bai <bywxiaobai@163.com>
Thu, 8 Oct 2015 13:28:59 +0000 (21:28 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Oct 2015 14:49:03 +0000 (07:49 -0700)
commit45ae74f56162e7a017c3a4e130cf1bcd8d2d17cc
treefd8f566bbec6c44ed81be8b0078c621b206f1771
parent0c6119d99bf5df9403a688d267537284e9cc8bcb
net/dccp: dccp_bad_service_code can be boolean

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

dccp_list_has_service is also been made return bool in this patchset.

No functional change.

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