Commit 52eb5487 authored by Andrew Morton's avatar Andrew Morton Committed by David S. Miller

[NET]: Fix pkt_act.h warning with gcc-2.95

include/net/pkt_act.h: In function 'tcf_hash_search':
include/net/pkt_act.h:218: warning: return makes integer from pointer without a cast

gcc-2.95 is stupid.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d2e91bb5
...@@ -212,9 +212,8 @@ tcf_hash_search(struct tc_action *a, u32 index) ...@@ -212,9 +212,8 @@ tcf_hash_search(struct tc_action *a, u32 index)
if (p != NULL) { if (p != NULL) {
a->priv = p; a->priv = p;
return 1; return 1;
} else {
return 0;
} }
return 0;
} }
#ifdef CONFIG_NET_ACT_INIT #ifdef CONFIG_NET_ACT_INIT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment