[NET]: Make all initialized struct seq_operations const.
Make all initialized struct seq_operations in net/ const Signed-off-by: Philippe De Muyter <phdm@macqel.be> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
3be550f34b
commit
56b3d975bb
@ -1210,7 +1210,7 @@ static int c_show(struct seq_file *m, void *p)
|
||||
return cd->cache_show(m, cd, cp);
|
||||
}
|
||||
|
||||
static struct seq_operations cache_content_op = {
|
||||
static const struct seq_operations cache_content_op = {
|
||||
.start = c_start,
|
||||
.next = c_next,
|
||||
.stop = c_stop,
|
||||
|
Reference in New Issue
Block a user