]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/sched/act_ife.c
net_sched: make tcf_hash_check() boolean
[karo-tx-linux.git] / net / sched / act_ife.c
index 02f5a8ba95d7a3bacc98d31a531bc8e2c64c36e5..b7fa96926c90447d49cb534262c43cd92f02041f 100644 (file)
@@ -423,7 +423,8 @@ static int tcf_ife_init(struct net *net, struct nlattr *nla,
        u16 ife_type = 0;
        u8 *daddr = NULL;
        u8 *saddr = NULL;
-       int ret = 0, exists = 0;
+       bool exists = false;
+       int ret = 0;
        int err;
 
        err = nla_parse_nested(tb, TCA_IFE_MAX, nla, ife_policy);