aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/cosa.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wan/cosa.c')
-rw-r--r--drivers/net/wan/cosa.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/wan/cosa.c b/drivers/net/wan/cosa.c
index 62b7087e44d0..c7b530628c8e 100644
--- a/drivers/net/wan/cosa.c
+++ b/drivers/net/wan/cosa.c
@@ -401,13 +401,6 @@ static int __init cosa_init(void)
401 for (i=0; i<nr_cards; i++) { 401 for (i=0; i<nr_cards; i++) {
402 class_device_create(cosa_class, NULL, MKDEV(cosa_major, i), 402 class_device_create(cosa_class, NULL, MKDEV(cosa_major, i),
403 NULL, "cosa%d", i); 403 NULL, "cosa%d", i);
404 err = devfs_mk_cdev(MKDEV(cosa_major, i),
405 S_IFCHR|S_IRUSR|S_IWUSR,
406 "cosa/%d", i);
407 if (err) {
408 class_device_destroy(cosa_class, MKDEV(cosa_major, i));
409 goto out_chrdev;
410 }
411 } 404 }
412 err = 0; 405 err = 0;
413 goto out; 406 goto out;