Commit fd6f5788 authored by Fabian Frederick's avatar Fabian Frederick Committed by Greg Kroah-Hartman

staging/lustre/obdclass: use static const for seq_operations

lprocfs_stats_seq_sops is only used in static int lprocfs_stats_seq_open
with seq_open as const struct seq_operations *

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Peng Tao <bergwolf@gmail.com>
Cc: devel@driverdev.osuosl.org
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e5873388
...@@ -1196,7 +1196,7 @@ static int lprocfs_stats_seq_show(struct seq_file *p, void *v) ...@@ -1196,7 +1196,7 @@ static int lprocfs_stats_seq_show(struct seq_file *p, void *v)
return (rc < 0) ? rc : 0; return (rc < 0) ? rc : 0;
} }
struct seq_operations lprocfs_stats_seq_sops = { static const struct seq_operations lprocfs_stats_seq_sops = {
.start = lprocfs_stats_seq_start, .start = lprocfs_stats_seq_start,
.stop = lprocfs_stats_seq_stop, .stop = lprocfs_stats_seq_stop,
.next = lprocfs_stats_seq_next, .next = lprocfs_stats_seq_next,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment