diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-09-10 00:35:19 -0700 |
|---|---|---|
| committer | David S. Miller <davem@nuts.davemloft.net> | 2004-09-10 00:35:19 -0700 |
| commit | 52eb5487edf194fadee57145bd19a83acb48ee07 (patch) | |
| tree | d3b006e445458a9844de88c5346e03eafb90d353 /include/net | |
| parent | d2e91bb524191fdf4248fb4e61db58938f5ac0af (diff) | |
[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: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/pkt_act.h | 3 |
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 |
