Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent e17f008b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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;