Skip to content

Commit b511e8e

Browse files
committed
mtd: ssfdc: Remove an unused variable
Since its introduction the driver was declaring a "usecount" variable, but nobody ever used it upstream. This was spot while grepping for usecount through mtd/ for other reasons. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20231205075431.13401-1-miquel.raynal@bootlin.com
1 parent b85ea95 commit b511e8e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/mtd/ssfdc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
struct ssfdcr_record {
2020
struct mtd_blktrans_dev mbd;
21-
int usecount;
2221
unsigned char heads;
2322
unsigned char sectors;
2423
unsigned short cylinders;

0 commit comments

Comments
 (0)