]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/dccp.h
Merge remote-tracking branch 'hsi/for-next'
[karo-tx-linux.git] / include / linux / dccp.h
index 221025423e6c993b70918e1186dabb7ff49a00e2..61d042bbbf607253033d9948b291cab2322814ba 100644 (file)
@@ -202,16 +202,16 @@ struct dccp_service_list {
 #define DCCP_SERVICE_INVALID_VALUE htonl((__u32)-1)
 #define DCCP_SERVICE_CODE_IS_ABSENT            0
 
-static inline int dccp_list_has_service(const struct dccp_service_list *sl,
+static inline bool dccp_list_has_service(const struct dccp_service_list *sl,
                                        const __be32 service)
 {
        if (likely(sl != NULL)) {
                u32 i = sl->dccpsl_nr;
                while (i--)
                        if (sl->dccpsl_list[i] == service)
-                               return 1;
+                               return true;
        }
-       return 0;
+       return false;
 }
 
 struct dccp_ackvec;