]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/sched/act_skbedit.c
net_sched: make tcf_hash_check() boolean
[karo-tx-linux.git] / net / sched / act_skbedit.c
index 7e2bc3c2b6da07fa6f14617363889363dcb711ad..53d1486cddf74188e35d936beb7b0adca4784901 100644 (file)
@@ -69,7 +69,8 @@ static int tcf_skbedit_init(struct net *net, struct nlattr *nla,
        struct tcf_skbedit *d;
        u32 flags = 0, *priority = NULL, *mark = NULL;
        u16 *queue_mapping = NULL;
-       int ret = 0, err, exists = 0;
+       bool exists = false;
+       int ret = 0, err;
 
        if (nla == NULL)
                return -EINVAL;