X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fnonet.c;h=92e76640c7cd65146dd6aed382698174f7a0f2a2;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=e5241dceaa571d897dfdf2db6c938e6f334af10b;hpb=cee37fe97739d85991964371c1f3a745c00dd236;p=linux-2.6.git diff --git a/net/nonet.c b/net/nonet.c index e5241dcea..92e76640c 100644 --- a/net/nonet.c +++ b/net/nonet.c @@ -14,17 +14,12 @@ #include #include -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; } -struct file_operations bad_sock_fops = { +const struct file_operations bad_sock_fops = { .owner = THIS_MODULE, .open = sock_no_open, };