git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
net
/
nonet.c
diff --git
a/net/nonet.c
b/net/nonet.c
index
e5241dc
..
92e7664
100644
(file)
--- a/
net/nonet.c
+++ b/
net/nonet.c
@@
-14,17
+14,12
@@
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/kernel.h>
-void __init sock_init(void)
-{
- printk(KERN_INFO "Linux NoNET1.0 for Linux 2.6\n");
-}
-
static int sock_no_open(struct inode *irrelevant, struct file *dontcare)
{
return -ENXIO;
}
static int sock_no_open(struct inode *irrelevant, struct file *dontcare)
{
return -ENXIO;
}
-struct file_operations bad_sock_fops = {
+
const
struct file_operations bad_sock_fops = {
.owner = THIS_MODULE,
.open = sock_no_open,
};
.owner = THIS_MODULE,
.open = sock_no_open,
};