summaryrefslogtreecommitdiff
path: root/net/socket.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2003-05-20 04:56:40 -0700
committerDavid S. Miller <davem@nuts.ninka.net>2003-05-20 04:56:40 -0700
commita6a1faca24996aaab9527353e6112919cd99ca73 (patch)
tree32cb7e8be328ba3f4bec924d4a5ffce9e3a7600f /net/socket.c
parent12a7f674a5c1df7685c2e92e833bc9fc9a6ac795 (diff)
[NET]: Clean up the divert ifdef mess.
Diffstat (limited to 'net/socket.c')
-rw-r--r--net/socket.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/socket.c b/net/socket.c
index 2f65bf513848..ba8e4fb345ab 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -821,11 +821,7 @@ static int sock_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
case SIOCGIFDIVERT:
case SIOCSIFDIVERT:
/* Convert this to call through a hook */
-#ifdef CONFIG_NET_DIVERT
err = divert_ioctl(cmd, (struct divert_cf *)arg);
-#else
- err = -ENOPKG;
-#endif /* CONFIG_NET_DIVERT */
break;
case SIOCADDDLCI:
case SIOCDELDLCI: