diff mbox series

[2/2] ata: pata_hpt3x2n: drop unused 'struct hpt_chip'

Message ID 20220209205351.10912-3-s.shtylyov@omp.ru
State New
Headers show
Series Drop unused declarations from HPT3x2N PATA driver | expand

Commit Message

Sergey Shtylyov Feb. 9, 2022, 8:53 p.m. UTC
The driver has never used 'struct hpt_chip' -- drop its declaration.

Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
---
 drivers/ata/pata_hpt3x2n.c | 5 -----
 1 file changed, 5 deletions(-)
diff mbox series

Patch

diff --git a/drivers/ata/pata_hpt3x2n.c b/drivers/ata/pata_hpt3x2n.c
index ab089b79fa20..d1355c063fa0 100644
--- a/drivers/ata/pata_hpt3x2n.c
+++ b/drivers/ata/pata_hpt3x2n.c
@@ -36,11 +36,6 @@  struct hpt_clock {
 	u32	timing;
 };
 
-struct hpt_chip {
-	const char *name;
-	struct hpt_clock *clocks[3];
-};
-
 /* key for bus clock timings
  * bit
  * 0:3    data_high_time. Inactive time of DIOW_/DIOR_ for PIO and MW DMA.