Skip to contentSkip to conversation

scsi: aic7xxx: Remove unused function pointer typedef ahc_bus_suspend/resume_t

PATCH Applied Chen Lin 2 participants 3 messages Feb 15, 2021 – Feb 26, 2021

Subsystems (2)
lore
Share & tools
lore

Chen Lin

author
#0 lore raw

PATCH 1/1 scsi: aic7xxx: Remove unused function pointer typedef ahc_bus_suspend/resume_t

From: Chen Lin <[email protected]>

Remove the 'ahc_bus_suspend/resume_t' typedef as it is not used.

---
 drivers/scsi/aic7xxx/aic7xxx.h |    2 --
 1 file changed, 2 deletions(-)
drivers/scsi/aic7xxx/aic7xxx.h +0 -2
index 11a0979..9bc755a 100644
@@ -896,8 +896,6 @@ struct ahc_pci_softc {
 
 typedef void (*ahc_bus_intr_t)(struct ahc_softc *);
 typedef int (*ahc_bus_chip_init_t)(struct ahc_softc *);
-typedef int (*ahc_bus_suspend_t)(struct ahc_softc *);
-typedef int (*ahc_bus_resume_t)(struct ahc_softc *);
 typedef void ahc_callback_t (void *);
 
 struct ahc_softc {
Signature · 1 line
1.7.9.5
#1 lore raw

Chen,

Quoted 1 line

Remove the 'ahc_bus_suspend/resume_t' typedef as it is not used.

Applied to 5.12/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering