]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit32fd438fbb4bddca39f9b6d20394f9c1a00263bb
treefd8f566bbec6c44ed81be8b0078c621b206f1771
parentd978022c0ba64da513b1067574a5220f338ed586
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