diff options
Diffstat (limited to 'net/x25/x25_proc.c')
-rw-r--r-- | net/x25/x25_proc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/x25/x25_proc.c b/net/x25/x25_proc.c index e0470bd8c2f9..3c9f1ba56221 100644 --- a/net/x25/x25_proc.c +++ b/net/x25/x25_proc.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * | 3 | * |
4 | * This is ALPHA test software. This code may break your machine, | 4 | * This is ALPHA test software. This code may break your machine, |
5 | * randomly fail to work with new releases, misbehave and/or generally | 5 | * randomly fail to work with new releases, misbehave and/or generally |
6 | * screw up. It might even work. | 6 | * screw up. It might even work. |
7 | * | 7 | * |
8 | * This code REQUIRES 2.4 with seq_file support | 8 | * This code REQUIRES 2.4 with seq_file support |
9 | * | 9 | * |
@@ -62,7 +62,7 @@ static void *x25_seq_route_next(struct seq_file *seq, void *v, loff_t *pos) | |||
62 | rt = v; | 62 | rt = v; |
63 | if (rt->node.next != &x25_route_list) | 63 | if (rt->node.next != &x25_route_list) |
64 | rt = list_entry(rt->node.next, struct x25_route, node); | 64 | rt = list_entry(rt->node.next, struct x25_route, node); |
65 | else | 65 | else |
66 | rt = NULL; | 66 | rt = NULL; |
67 | out: | 67 | out: |
68 | return rt; | 68 | return rt; |
@@ -88,7 +88,7 @@ static int x25_seq_route_show(struct seq_file *seq, void *v) | |||
88 | rt->dev ? rt->dev->name : "???"); | 88 | rt->dev ? rt->dev->name : "???"); |
89 | out: | 89 | out: |
90 | return 0; | 90 | return 0; |
91 | } | 91 | } |
92 | 92 | ||
93 | static __inline__ struct sock *x25_get_socket_idx(loff_t pos) | 93 | static __inline__ struct sock *x25_get_socket_idx(loff_t pos) |
94 | { | 94 | { |
@@ -163,7 +163,7 @@ static int x25_seq_socket_show(struct seq_file *seq, void *v) | |||
163 | s->sk_socket ? SOCK_INODE(s->sk_socket)->i_ino : 0L); | 163 | s->sk_socket ? SOCK_INODE(s->sk_socket)->i_ino : 0L); |
164 | out: | 164 | out: |
165 | return 0; | 165 | return 0; |
166 | } | 166 | } |
167 | 167 | ||
168 | static __inline__ struct x25_forward *x25_get_forward_idx(loff_t pos) | 168 | static __inline__ struct x25_forward *x25_get_forward_idx(loff_t pos) |
169 | { | 169 | { |