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

From: Al Viro
Date: Thu Dec 15 2005 - 04:23:05 EST



Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>


---

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

ade4747aab9e9bacbab04d37acdf8fb69a903934
diff --git a/drivers/atm/adummy.c b/drivers/atm/adummy.c
index d15c194..d1387cf 100644
--- a/drivers/atm/adummy.c
+++ b/drivers/atm/adummy.c
@@ -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;
--
0.99.9.GIT

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/