Skip to contentSkip to conversation

drivers/atm/adummy.c NULL noise removal

PATCH New Al Viro 1 participant 1 message Dec 15, 2005 ATM

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 drivers/atm/adummy.c NULL noise removal

---

 drivers/atm/adummy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

ade4747aab9e9bacbab04d37acdf8fb69a903934

drivers/atm/adummy.c +1 -1
index d15c194..d1387cf 100644
@@ -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;
Signature · 1 line
0.99.9.GIT