]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd978022c0ba64da513b1067574a5220f338ed586
tree935a1f2379eaa3f2c35429042a692c4a7f4df8d5
parenta92b454e1c1bb7c1fe7122fd3f64cad2902a5f17
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