diff options
author | Ondrej Zary <linux@zary.sk> | 2023-02-19 01:01:30 +0300 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2023-03-23 04:29:25 +0300 |
commit | 5b77db9ccff444ddd3755e43b7bfa8782a5ac125 (patch) | |
tree | b1c88c1b2c449b520fc4df8d606ac1f8316f4325 /drivers/ata/pata_parport/dstr.c | |
parent | 3a7474ba54ef29233af3de8b1f97ec006c2f902a (diff) | |
download | linux-5b77db9ccff444ddd3755e43b7bfa8782a5ac125.tar.xz |
ata: pata_parport: remove scratch parameter from log_adapter()
scratch parameter of log_adapter() is only used by bpck driver.
Remove it.
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Ondrej Zary <linux@zary.sk>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'drivers/ata/pata_parport/dstr.c')
-rw-r--r-- | drivers/ata/pata_parport/dstr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_parport/dstr.c b/drivers/ata/pata_parport/dstr.c index 17b1a7cb0a15..a8b238828061 100644 --- a/drivers/ata/pata_parport/dstr.c +++ b/drivers/ata/pata_parport/dstr.c @@ -190,7 +190,7 @@ static void dstr_write_block(struct pi_adapter *pi, char *buf, int count) } -static void dstr_log_adapter(struct pi_adapter *pi, char *scratch) +static void dstr_log_adapter(struct pi_adapter *pi) { char *mode_string[5] = {"4-bit","8-bit","EPP-8", "EPP-16","EPP-32"}; |