* [PATCH] scsi: aic7xxx: Remove unused function pointer typedef ahc_bus_suspend/resume_t
@ 2021-02-15 11:40 Chen Lin
2021-02-23 3:28 ` Martin K. Petersen
2021-02-26 2:22 ` Martin K. Petersen
0 siblings, 2 replies; 3+ messages in thread
From: Chen Lin @ 2021-02-15 11:40 UTC (permalink / raw)
To: hare, jejb, martin.petersen; +Cc: linux-scsi, linux-kernel, Chen Lin
From: Chen Lin <chen.lin5@zte.com.cn>
Remove the 'ahc_bus_suspend/resume_t' typedef as it is not used.
Signed-off-by: Chen Lin <chen.lin5@zte.com.cn>
---
drivers/scsi/aic7xxx/aic7xxx.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/scsi/aic7xxx/aic7xxx.h b/drivers/scsi/aic7xxx/aic7xxx.h
index 11a0979..9bc755a 100644
--- a/drivers/scsi/aic7xxx/aic7xxx.h
+++ b/drivers/scsi/aic7xxx/aic7xxx.h
@@ -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 {
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] scsi: aic7xxx: Remove unused function pointer typedef ahc_bus_suspend/resume_t
2021-02-15 11:40 [PATCH] scsi: aic7xxx: Remove unused function pointer typedef ahc_bus_suspend/resume_t Chen Lin
@ 2021-02-23 3:28 ` Martin K. Petersen
2021-02-26 2:22 ` Martin K. Petersen
1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2021-02-23 3:28 UTC (permalink / raw)
To: Chen Lin; +Cc: hare, jejb, martin.petersen, linux-scsi, linux-kernel, Chen Lin
Chen,
> Remove the 'ahc_bus_suspend/resume_t' typedef as it is not used.
Applied to 5.12/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] scsi: aic7xxx: Remove unused function pointer typedef ahc_bus_suspend/resume_t
2021-02-15 11:40 [PATCH] scsi: aic7xxx: Remove unused function pointer typedef ahc_bus_suspend/resume_t Chen Lin
2021-02-23 3:28 ` Martin K. Petersen
@ 2021-02-26 2:22 ` Martin K. Petersen
1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2021-02-26 2:22 UTC (permalink / raw)
To: hare, Chen Lin, jejb
Cc: Martin K . Petersen, Chen Lin, linux-scsi, linux-kernel
On Mon, 15 Feb 2021 19:40:49 +0800, Chen Lin wrote:
> Remove the 'ahc_bus_suspend/resume_t' typedef as it is not used.
Applied to 5.12/scsi-queue, thanks!
[1/1] scsi: aic7xxx: Remove unused function pointer typedef ahc_bus_suspend/resume_t
https://git.kernel.org/mkp/scsi/c/c2f23a96c6e2
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-26 2:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-15 11:40 [PATCH] scsi: aic7xxx: Remove unused function pointer typedef ahc_bus_suspend/resume_t Chen Lin
2021-02-23 3:28 ` Martin K. Petersen
2021-02-26 2:22 ` Martin K. Petersen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.