[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>
This commit is contained in:
committed by
David S. Miller
parent
6b2bedc3a6
commit
f690808e17
@@ -1360,7 +1360,7 @@ static void *arp_seq_start(struct seq_file *seq, loff_t *pos)
|
||||
|
||||
/* ------------------------------------------------------------------------ */
|
||||
|
||||
static struct seq_operations arp_seq_ops = {
|
||||
static const struct seq_operations arp_seq_ops = {
|
||||
.start = arp_seq_start,
|
||||
.next = neigh_seq_next,
|
||||
.stop = neigh_seq_stop,
|
||||
|
Reference in New Issue
Block a user