scsi: aic7xxx: remove empty function
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Thu, 3 Aug 2017 23:28:07 +0000 (01:28 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Aug 2017 01:42:07 +0000 (21:42 -0400)
ahc_platform_dump_card_state() does nothing. Remove it.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aic7xxx/aic7xxx_core.c
drivers/scsi/aic7xxx/aic7xxx_osm.c
drivers/scsi/aic7xxx/aic7xxx_osm.h

index 64ab9eaec428c53f853ae4ef5e8e749f3ac6c188..381846164003129458d4bab4020587f4276c67f6 100644 (file)
@@ -7340,7 +7340,6 @@ ahc_dump_card_state(struct ahc_softc *ahc)
                printk("\n");
        }
 
-       ahc_platform_dump_card_state(ahc);
        printk("\n<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>\n");
        ahc_outb(ahc, SCBPTR, saved_scbptr);
        if (paused == 0)
index fc6a83188c1e0fab6a2bb4583eda2a2d6771c619..acd687f4554e7349416cb098d881dbf7d018ec37 100644 (file)
@@ -2329,11 +2329,6 @@ done:
        return (retval);
 }
 
-void
-ahc_platform_dump_card_state(struct ahc_softc *ahc)
-{
-}
-
 static void ahc_linux_set_width(struct scsi_target *starget, int width)
 {
        struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
index 54c702864103a418b176a5eabba6cbafc8730613..f8489078f003a4ffd0a6c9752b033a8e0b184198 100644 (file)
@@ -688,7 +688,6 @@ void        ahc_done(struct ahc_softc*, struct scb*);
 void   ahc_send_async(struct ahc_softc *, char channel,
                       u_int target, u_int lun, ac_code);
 void   ahc_print_path(struct ahc_softc *, struct scb *);
-void   ahc_platform_dump_card_state(struct ahc_softc *ahc);
 
 #ifdef CONFIG_PCI
 #define AHC_PCI_CONFIG 1