diff options
Diffstat (limited to 'include/linux/seq_file.h')
-rw-r--r-- | include/linux/seq_file.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/seq_file.h b/include/linux/seq_file.h index 67c2563961f3..1da1e6208a0a 100644 --- a/include/linux/seq_file.h +++ b/include/linux/seq_file.h | |||
@@ -62,18 +62,5 @@ extern struct list_head *seq_list_start_head(struct list_head *head, | |||
62 | extern struct list_head *seq_list_next(void *v, struct list_head *head, | 62 | extern struct list_head *seq_list_next(void *v, struct list_head *head, |
63 | loff_t *ppos); | 63 | loff_t *ppos); |
64 | 64 | ||
65 | struct net; | ||
66 | struct seq_net_private { | ||
67 | struct net *net; | ||
68 | }; | ||
69 | |||
70 | int seq_open_net(struct inode *, struct file *, | ||
71 | const struct seq_operations *, int); | ||
72 | int seq_release_net(struct inode *, struct file *); | ||
73 | static inline struct net *seq_file_net(struct seq_file *seq) | ||
74 | { | ||
75 | return ((struct seq_net_private *)seq->private)->net; | ||
76 | } | ||
77 | |||
78 | #endif | 65 | #endif |
79 | #endif | 66 | #endif |