diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2023-12-05 10:54:31 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2023-12-14 18:43:15 +0300 |
commit | b511e8e05b32d028d8369af3e369c924f98323ec (patch) | |
tree | 74a1e69e9799deb61c81723011e784ab2a949cf2 /drivers/mtd | |
parent | b85ea95d086471afb4ad062012a4d73cd328fa86 (diff) | |
download | linux-b511e8e05b32d028d8369af3e369c924f98323ec.tar.xz |
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
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/ssfdc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/ssfdc.c b/drivers/mtd/ssfdc.c index 04da685c36be..211f279a33a9 100644 --- a/drivers/mtd/ssfdc.c +++ b/drivers/mtd/ssfdc.c @@ -18,7 +18,6 @@ struct ssfdcr_record { struct mtd_blktrans_dev mbd; - int usecount; unsigned char heads; unsigned char sectors; unsigned short cylinders; |