Re: [PATCH][V2] mtd: nand: marvell: remove redundant variable 'oob_len'

2018-01-20 Thread Boris Brezillon
On Fri, 19 Jan 2018 07:59:54 + Colin King wrote: > From: Colin Ian King > > Variable oob_len is assigned and never read, hence it is redundant and > can be removed. > > Cleans up clang warnings: > >

Re: [PATCH][V2] mtd: nand: marvell: remove redundant variable 'oob_len'

2018-01-20 Thread Boris Brezillon
On Fri, 19 Jan 2018 07:59:54 + Colin King wrote: > From: Colin Ian King > > Variable oob_len is assigned and never read, hence it is redundant and > can be removed. > > Cleans up clang warnings: > > drivers/mtd/nand/marvell_nand.c:1356:6: warning: Value stored to 'oob_len' > during its

[PATCH][V2] mtd: nand: marvell: remove redundant variable 'oob_len'

2018-01-19 Thread Colin King
From: Colin Ian King Variable oob_len is assigned and never read, hence it is redundant and can be removed. Cleans up clang warnings: drivers/mtd/nand/marvell_nand.c:1356:6: warning: Value stored to 'oob_len' during its initialization is never read

[PATCH][V2] mtd: nand: marvell: remove redundant variable 'oob_len'

2018-01-19 Thread Colin King
From: Colin Ian King Variable oob_len is assigned and never read, hence it is redundant and can be removed. Cleans up clang warnings: drivers/mtd/nand/marvell_nand.c:1356:6: warning: Value stored to 'oob_len' during its initialization is never read drivers/mtd/nand/marvell_nand.c:1369:4: