mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-24 23:52:40 +00:00
[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:
parent
6b2bedc3a6
commit
f690808e17
12 changed files with 17 additions and 17 deletions
|
@ -889,7 +889,7 @@ static int raw_seq_show(struct seq_file *seq, void *v)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct seq_operations raw_seq_ops = {
|
||||
static const struct seq_operations raw_seq_ops = {
|
||||
.start = raw_seq_start,
|
||||
.next = raw_seq_next,
|
||||
.stop = raw_seq_stop,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue