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

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
-1
drivers/mtd/ssfdc.c
··· 18 18 19 19 struct ssfdcr_record { 20 20 struct mtd_blktrans_dev mbd; 21 - int usecount; 22 21 unsigned char heads; 23 22 unsigned char sectors; 24 23 unsigned short cylinders;