aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/sock.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-03-12 17:34:29 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:25:03 -0400
commitf690808e17925fc45217eb22e8670902ecee5c1b (patch)
treeba677dd86988f4c77a728cc7408c21967e59400c /net/core/sock.c
parent6b2bedc3a659ba228a93afc8e3f008e152abf18a (diff)
[NET]: make seq_operations const
The seq_file operations stuff can be marked constant to get it out of dirty cache. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/sock.c')
-rw-r--r--net/core/sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/sock.c b/net/core/sock.c
index f9e6991d3729..73a8018029a8 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -1925,7 +1925,7 @@ static int proto_seq_show(struct seq_file *seq, void *v)
1925 return 0; 1925 return 0;
1926} 1926}
1927 1927
1928static struct seq_operations proto_seq_ops = { 1928static const struct seq_operations proto_seq_ops = {
1929 .start = proto_seq_start, 1929 .start = proto_seq_start,
1930 .next = proto_seq_next, 1930 .next = proto_seq_next,
1931 .stop = proto_seq_stop, 1931 .stop = proto_seq_stop,