Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fef124c3 authored by Michał Mirosław's avatar Michał Mirosław Committed by Martin K. Petersen
Browse files

scsi: aic7xxx: remove empty function



ahc_platform_dump_card_state() does nothing. Remove it.

Signed-off-by: default avatarMichał Mirosław <mirq-linux@rere.qmqm.pl>
Reviewed-by: default avatarHannes Reinecke <hare@suse.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 458ceea9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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)
+0 −5
Original line number Diff line number Diff line
@@ -2329,11 +2329,6 @@ ahc_linux_queue_recovery_cmd(struct scsi_cmnd *cmd, scb_flag flag)
	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);
+0 −1
Original line number Diff line number Diff line
@@ -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