summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_parport/aten.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/aten.c
parent3a7474ba54ef29233af3de8b1f97ec006c2f902a (diff)
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/aten.c')
-rw-r--r--drivers/ata/pata_parport/aten.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_parport/aten.c b/drivers/ata/pata_parport/aten.c
index 0a98954f380f..3f5c50c2c43a 100644
--- a/drivers/ata/pata_parport/aten.c
+++ b/drivers/ata/pata_parport/aten.c
@@ -120,7 +120,7 @@ static void aten_disconnect(struct pi_adapter *pi)
w2(pi->saved_r2);
}
-static void aten_log_adapter(struct pi_adapter *pi, char *scratch)
+static void aten_log_adapter(struct pi_adapter *pi)
{ char *mode_string[2] = {"4-bit","8-bit"};