Commit 8d7494a0 authored by Ondrej Zary's avatar Ondrej Zary Committed by Damien Le Moal

ata: pata_parport: remove verbose parameter from test_proto()

verbose parameter of test_proto() is now unused, remove it.
Reviewed-by: default avatarSergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: default avatarOndrej Zary <linux@zary.sk>
Signed-off-by: default avatarDamien Le Moal <damien.lemoal@opensource.wdc.com>
parent a36a7068
...@@ -274,7 +274,7 @@ static void bpck_force_spp(struct pi_adapter *pi) ...@@ -274,7 +274,7 @@ static void bpck_force_spp(struct pi_adapter *pi)
#define TEST_LEN 16 #define TEST_LEN 16
static int bpck_test_proto(struct pi_adapter *pi, char *scratch, int verbose) static int bpck_test_proto(struct pi_adapter *pi, char *scratch)
{ int i, e, l, h, om; { int i, e, l, h, om;
char buf[TEST_LEN]; char buf[TEST_LEN];
......
...@@ -246,7 +246,7 @@ static void epat_disconnect(struct pi_adapter *pi) ...@@ -246,7 +246,7 @@ static void epat_disconnect(struct pi_adapter *pi)
w2(pi->saved_r2); w2(pi->saved_r2);
} }
static int epat_test_proto(struct pi_adapter *pi, char *scratch, int verbose) static int epat_test_proto(struct pi_adapter *pi, char *scratch)
{ int k, j, f, cc; { int k, j, f, cc;
int e[2] = {0,0}; int e[2] = {0,0};
......
...@@ -232,7 +232,7 @@ static void epia_write_block(struct pi_adapter *pi, char *buf, int count) ...@@ -232,7 +232,7 @@ static void epia_write_block(struct pi_adapter *pi, char *buf, int count)
} }
static int epia_test_proto(struct pi_adapter *pi, char *scratch, int verbose) static int epia_test_proto(struct pi_adapter *pi, char *scratch)
{ int j, k, f; { int j, k, f;
int e[2] = {0,0}; int e[2] = {0,0};
......
...@@ -178,7 +178,7 @@ static void friq_disconnect(struct pi_adapter *pi) ...@@ -178,7 +178,7 @@ static void friq_disconnect(struct pi_adapter *pi)
w2(pi->saved_r2); w2(pi->saved_r2);
} }
static int friq_test_proto(struct pi_adapter *pi, char *scratch, int verbose) static int friq_test_proto(struct pi_adapter *pi, char *scratch)
{ int j, k, r; { int j, k, r;
int e[2] = {0,0}; int e[2] = {0,0};
......
...@@ -219,7 +219,7 @@ static int frpw_test_pnp(struct pi_adapter *pi) ...@@ -219,7 +219,7 @@ static int frpw_test_pnp(struct pi_adapter *pi)
a hack :-( a hack :-(
*/ */
static int frpw_test_proto(struct pi_adapter *pi, char *scratch, int verbose) static int frpw_test_proto(struct pi_adapter *pi, char *scratch)
{ int j, k, r; { int j, k, r;
int e[2] = {0,0}; int e[2] = {0,0};
......
...@@ -306,7 +306,7 @@ static int pi_test_proto(struct pi_adapter *pi, char *scratch) ...@@ -306,7 +306,7 @@ static int pi_test_proto(struct pi_adapter *pi, char *scratch)
parport_claim_or_block(pi->pardev); parport_claim_or_block(pi->pardev);
if (pi->proto->test_proto) if (pi->proto->test_proto)
res = pi->proto->test_proto(pi, scratch, 1); res = pi->proto->test_proto(pi, scratch);
else else
res = default_test_proto(pi, scratch); res = default_test_proto(pi, scratch);
parport_release(pi->pardev); parport_release(pi->pardev);
......
...@@ -67,7 +67,7 @@ struct pi_protocol { ...@@ -67,7 +67,7 @@ struct pi_protocol {
int (*test_port)(struct pi_adapter *pi); int (*test_port)(struct pi_adapter *pi);
int (*probe_unit)(struct pi_adapter *pi); int (*probe_unit)(struct pi_adapter *pi);
int (*test_proto)(struct pi_adapter *pi, char *scratch, int verbose); int (*test_proto)(struct pi_adapter *pi, char *scratch);
void (*log_adapter)(struct pi_adapter *pi); void (*log_adapter)(struct pi_adapter *pi);
int (*init_proto)(struct pi_adapter *pi); int (*init_proto)(struct pi_adapter *pi);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment