]> err.no Git - linux-2.6/commitdiff
[PATCH] drivers/atm/adummy.c NULL noise removal
authorAl Viro <viro@ftp.linux.org.uk>
Thu, 15 Dec 2005 09:18:55 +0000 (09:18 +0000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 15 Dec 2005 18:04:31 +0000 (10:04 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/atm/adummy.c

index d15c194be44a72a06dbb686d8d3f29789264b6aa..d1387cfe2d30e2ef96914dddd1e0f2ead5650c09 100644 (file)
@@ -123,7 +123,7 @@ static int __init adummy_init(void)
        }
        memset(adummy_dev, 0, sizeof(struct adummy_dev));
 
-       atm_dev = atm_dev_register(DEV_LABEL, &adummy_ops, -1, 0);
+       atm_dev = atm_dev_register(DEV_LABEL, &adummy_ops, -1, NULL);
        if (!atm_dev) {
                printk(KERN_ERR DEV_LABEL ": atm_dev_register() failed\n");
                err = -ENODEV;