Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Colin Ian King and committed by
Jens Axboe
5efac89c e84422cd

+1 -2
+1 -2
drivers/block/paride/bpck.c
··· 347 347 348 348 static void bpck_read_eeprom ( PIA *pi, char * buf ) 349 349 350 - { int i,j,k,n,p,v,f, om, od; 350 + { int i, j, k, p, v, f, om, od; 351 351 352 352 bpck_force_spp(pi); 353 353 ··· 356 356 357 357 bpck_connect(pi); 358 358 359 - n = 0; 360 359 WR(4,0); 361 360 for (i=0;i<64;i++) { 362 361 WR(6,8);