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.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/net.h b/include/linux/net.h
index a670cf44fa9f..55083c938298 100644
--- a/include/linux/net.h
+++ b/include/linux/net.h
@@ -136,16 +136,6 @@ struct net_proto_family {
short encrypt_net;
};
-/**
- * struct socket - network interface with the file system
- * @name - Protocol name
- * @init_func - Bootstrap
- */
-struct net_proto {
- const char *name;
- void (*init_func)(struct net_proto *pro);
-};
-
extern int sock_wake_async(struct socket *sk, int how, int band);
extern int sock_register(struct net_proto_family *fam);
extern int sock_unregister(int family);