Commit 7877327d authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

[PATCH] drivers/atm/adummy.c NULL noise removal

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e17f008b
...@@ -123,7 +123,7 @@ static int __init adummy_init(void) ...@@ -123,7 +123,7 @@ static int __init adummy_init(void)
} }
memset(adummy_dev, 0, sizeof(struct adummy_dev)); 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) { if (!atm_dev) {
printk(KERN_ERR DEV_LABEL ": atm_dev_register() failed\n"); printk(KERN_ERR DEV_LABEL ": atm_dev_register() failed\n");
err = -ENODEV; err = -ENODEV;
......
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