Skip to contentSkip to conversation

zfcp: remove zfcp_ccw_unregister function

PATCH New Andreas Herrmann 1 participant 1 message Sep 18, 2006

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/6 zfcp: remove zfcp_ccw_unregister function

From: Heiko Carstens <[email protected]>

zfcp: remove zfcp_ccw_unregister function

Remove unused zfcp_ccw_unregister function (leftover from zfcp's module_exit era).

---
 drivers/s390/scsi/zfcp_ccw.c |   13 -------------
 drivers/s390/scsi/zfcp_ext.h |    1 -
 2 files changed, 0 insertions(+), 14 deletions(-)
drivers/s390/scsi/zfcp_ccw.c +0 -13
index fdabade..81680ef 100644
@@ -275,19 +275,6 @@ zfcp_ccw_register(void)
 }
 
 /**
- * zfcp_ccw_unregister - ccw unregister function
- *
- * Unregisters the driver from common i/o layer. Function will be called at
- * module unload/system shutdown.
- */
-void __exit
-zfcp_ccw_unregister(void)
-{
-	zfcp_sysfs_driver_remove_files(&zfcp_ccw_driver.driver);
-	ccw_driver_unregister(&zfcp_ccw_driver);
-}
-
-/**
  * zfcp_ccw_shutdown - gets called on reboot/shutdown
  *
  * Makes sure that QDIO queues are down when the system gets stopped.
drivers/s390/scsi/zfcp_ext.h +0 -1
index 146d7a2..b45d1bf 100644
@@ -55,7 +55,6 @@ extern void   zfcp_unit_dequeue(struct z
 
 /******************************* S/390 IO ************************************/
 extern int  zfcp_ccw_register(void);
-extern void zfcp_ccw_unregister(void);
 
 extern void zfcp_qdio_zero_sbals(struct qdio_buffer **, int, int);
 extern int  zfcp_qdio_allocate(struct zfcp_adapter *);
Signature · 1 line
1.4.2.1.g80823