projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[NETLINK]: Remove bogus BUG_ON
[powerpc.git]
/
net
/
ipv4
/
fib_hash.c
diff --git
a/net/ipv4/fib_hash.c
b/net/ipv4/fib_hash.c
index
dea04d7
..
9cfecf1
100644
(file)
--- a/
net/ipv4/fib_hash.c
+++ b/
net/ipv4/fib_hash.c
@@
-20,7
+20,6
@@
#include <linux/bitops.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/bitops.h>
#include <linux/types.h>
#include <linux/kernel.h>
-#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/string.h>
#include <linux/socket.h>
#include <linux/mm.h>
#include <linux/string.h>
#include <linux/socket.h>
@@
-1028,7
+1027,7
@@
out:
return 0;
}
return 0;
}
-static struct seq_operations fib_seq_ops = {
+static
const
struct seq_operations fib_seq_ops = {
.start = fib_seq_start,
.next = fib_seq_next,
.stop = fib_seq_stop,
.start = fib_seq_start,
.next = fib_seq_next,
.stop = fib_seq_stop,
@@
-1057,7
+1056,7
@@
out_kfree:
goto out;
}
goto out;
}
-static struct file_operations fib_seq_fops = {
+static
const
struct file_operations fib_seq_fops = {
.owner = THIS_MODULE,
.open = fib_seq_open,
.read = seq_read,
.owner = THIS_MODULE,
.open = fib_seq_open,
.read = seq_read,