summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
Diffstat (limited to 'include/net')
-rw-r--r--include/net/pkt_act.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/pkt_act.h b/include/net/pkt_act.h
index be5d651e4fe3..e7e7da355012 100644
--- a/include/net/pkt_act.h
+++ b/include/net/pkt_act.h
@@ -212,9 +212,8 @@ tcf_hash_search(struct tc_action *a, u32 index)
if (p != NULL) {
a->priv = p;
return 1;
- } else {
- return 0;
}
+ return 0;
}
#ifdef CONFIG_NET_ACT_INIT