summaryrefslogtreecommitdiff
path: root/include/linux/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/net.h')
-rw-r--r--include/linux/net.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/net.h b/include/linux/net.h
index 39493fc2e265..8cd440ce36d6 100644
--- a/include/linux/net.h
+++ b/include/linux/net.h
@@ -23,6 +23,7 @@
#include <linux/wait.h>
struct poll_table_struct;
+struct inode;
#define NPROTO 32 /* should be enough for now.. */
@@ -68,7 +69,6 @@ struct socket
unsigned long flags;
struct proto_ops *ops;
- struct inode *inode;
struct fasync_struct *fasync_list; /* Asynchronous wake up list */
struct file *file; /* File back pointer for gc */
struct sock *sk;
@@ -78,8 +78,6 @@ struct socket
unsigned char passcred;
};
-#define SOCK_INODE(S) ((S)->inode)
-
struct scm_cookie;
struct vm_area_struct;
struct page;