summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/m32r_cfc.c
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2012-08-29 16:40:04 +0200
committerDominik Brodowski <linux@dominikbrodowski.net>2015-05-30 15:29:42 +0200
commit221f7edb732d5b81d0b41b5c4811121e1c400064 (patch)
tree750a9f79eb9f5ee8591cfaa3ac174cd109d7a34c /drivers/pcmcia/m32r_cfc.c
parentdrivers/pcmcia/electra_cf.c: add missing iounmap and kfree (diff)
downloadlinux-221f7edb732d5b81d0b41b5c4811121e1c400064.tar.xz
linux-221f7edb732d5b81d0b41b5c4811121e1c400064.zip
PCMCIA: Remove commented references to dead class_device_create_file()
Since this routine doesn't even exist anymore, there's no point leaving in commented code using it. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/m32r_cfc.c')
-rw-r--r--drivers/pcmcia/m32r_cfc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/pcmcia/m32r_cfc.c b/drivers/pcmcia/m32r_cfc.c
index 0075bd7162ed..70b089430fcc 100644
--- a/drivers/pcmcia/m32r_cfc.c
+++ b/drivers/pcmcia/m32r_cfc.c
@@ -754,13 +754,6 @@ static int __init init_m32r_pcc(void)
ret = pcmcia_register_socket(&socket[i].socket);
if (!ret)
socket[i].flags |= IS_REGISTERED;
-
-#if 0 /* driver model ordering issue */
- class_device_create_file(&socket[i].socket.dev,
- &class_device_attr_info);
- class_device_create_file(&socket[i].socket.dev,
- &class_device_attr_exca);
-#endif
}
/* Finally, schedule a polling interrupt */