Skip to content
Commit 45ae74f5 authored by Yaowei Bai's avatar Yaowei Bai Committed by David S. Miller
Browse files

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: default avatarYaowei Bai <bywxiaobai@163.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0c6119d9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment