projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87a3f2a
)
ata: pata_hpt3x2n: drop unused 'struct hpt_chip'
author
Sergey Shtylyov
<s.shtylyov@omp.ru>
Wed, 9 Feb 2022 20:53:51 +0000
(23:53 +0300)
committer
Damien Le Moal
<damien.lemoal@opensource.wdc.com>
Sat, 19 Feb 2022 02:18:43 +0000
(11:18 +0900)
The driver has never used 'struct hpt_chip' -- drop its declaration.
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/pata_hpt3x2n.c
patch
|
blob
|
history
diff --git
a/drivers/ata/pata_hpt3x2n.c
b/drivers/ata/pata_hpt3x2n.c
index 22e80d12a49bf6174fdcebba3c849f2cd178c55d..b36090808890994cb213a7eabc87bc049252f78e 100644
(file)
--- 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.