]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/sched/act_vlan.c
net_sched: make tcf_hash_check() boolean
[karo-tx-linux.git] / net / sched / act_vlan.c
index b075d50e0fc322a815dffef9a6fbf9d1d4358271..db9b7ed570baa42d71c2a04257bcad19489110ff 100644 (file)
@@ -77,8 +77,8 @@ static int tcf_vlan_init(struct net *net, struct nlattr *nla,
        int action;
        __be16 push_vid = 0;
        __be16 push_proto = 0;
-       int ret = 0, exists = 0;
-       int err;
+       bool exists = false;
+       int ret = 0, err;
 
        if (!nla)
                return -EINVAL;