summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_parport/bpck6.c
diff options
context:
space:
mode:
authorOndrej Zary <linux@zary.sk>2023-02-18 23:01:30 +0100
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2023-03-23 10:29:25 +0900
commit5b77db9ccff444ddd3755e43b7bfa8782a5ac125 (patch)
treeb1c88c1b2c449b520fc4df8d606ac1f8316f4325 /drivers/ata/pata_parport/bpck6.c
parent3a7474ba54ef29233af3de8b1f97ec006c2f902a (diff)
downloadlinux-5b77db9ccff444ddd3755e43b7bfa8782a5ac125.tar.gz
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/bpck6.c')
-rw-r--r--drivers/ata/pata_parport/bpck6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_parport/bpck6.c b/drivers/ata/pata_parport/bpck6.c
index 68f7fdcab9be..41395a97d77c 100644
--- a/drivers/ata/pata_parport/bpck6.c
+++ b/drivers/ata/pata_parport/bpck6.c
@@ -195,7 +195,7 @@ static int bpck6_probe_unit(struct pi_adapter *pi)
}
}
-static void bpck6_log_adapter(struct pi_adapter *pi, char *scratch)
+static void bpck6_log_adapter(struct pi_adapter *pi)
{
char *mode_string[5]=
{"4-bit","8-bit","EPP-8","EPP-16","EPP-32"};