diff options
author | Yaowei Bai <bywxiaobai@163.com> | 2015-10-08 21:28:59 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-09 07:49:03 -0700 |
commit | 45ae74f56162e7a017c3a4e130cf1bcd8d2d17cc (patch) | |
tree | fd8f566bbec6c44ed81be8b0078c621b206f1771 /net/switchdev/switchdev.c | |
parent | 0c6119d99bf5df9403a688d267537284e9cc8bcb (diff) | |
download | linux-45ae74f56162e7a017c3a4e130cf1bcd8d2d17cc.tar.gz linux-45ae74f56162e7a017c3a4e130cf1bcd8d2d17cc.tar.bz2 linux-45ae74f56162e7a017c3a4e130cf1bcd8d2d17cc.zip |
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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions