Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5efac89c authored by Colin Ian King's avatar Colin Ian King Committed by Jens Axboe
Browse files

paride: remove redundant variable n



Variable n is being assigned but is never used hence it is redundant
and can be removed. Also put spacing between variables in declaration
to clean up checkpatch warnings.

Cleans up clang warning:
warning: variable 'n' set but not used [-Wunused-but-set-variable]

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent e84422cd
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -347,7 +347,7 @@ static int bpck_test_proto( PIA *pi, char * scratch, int verbose )

static void bpck_read_eeprom ( PIA *pi, char * buf )

{       int i,j,k,n,p,v,f, om, od;
{       int i, j, k, p, v, f, om, od;

	bpck_force_spp(pi);

@@ -356,7 +356,6 @@ static void bpck_read_eeprom ( PIA *pi, char * buf )

	bpck_connect(pi);
	
	n = 0;
	WR(4,0);
	for (i=0;i<64;i++) {
	    WR(6,8);