summaryrefslogtreecommitdiffstats
path: root/include/net/protocol.h
diff options
context:
space:
mode:
authorDavid S. Miller2012-06-28 07:01:22 +0200
committerDavid S. Miller2012-06-28 07:01:22 +0200
commit160eb5a6b14ca2eab5c598bdbbb24c24624bad34 (patch)
treeccdc41681ef1e8cd634084c5160890cc975961a0 /include/net/protocol.h
parentxfrm_user: Propagate netlink error codes properly. (diff)
downloadkernel-qcow2-linux-160eb5a6b14ca2eab5c598bdbbb24c24624bad34.tar.gz
kernel-qcow2-linux-160eb5a6b14ca2eab5c598bdbbb24c24624bad34.tar.xz
kernel-qcow2-linux-160eb5a6b14ca2eab5c598bdbbb24c24624bad34.zip
ipv4: Kill early demux method return value.
It's completely unnecessary. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/protocol.h')
-rw-r--r--include/net/protocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/protocol.h b/include/net/protocol.h
index 967b926cbfb1..057f2d315567 100644
--- a/include/net/protocol.h
+++ b/include/net/protocol.h
@@ -37,7 +37,7 @@
/* This is used to register protocols. */
struct net_protocol {
- int (*early_demux)(struct sk_buff *skb);
+ void (*early_demux)(struct sk_buff *skb);
int (*handler)(struct sk_buff *skb);
void (*err_handler)(struct sk_buff *skb, u32 info);
int (*gso_send_check)(struct sk_buff *skb);