projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b85ea95
)
mtd: ssfdc: Remove an unused variable
author
Miquel Raynal
<miquel.raynal@bootlin.com>
Tue, 5 Dec 2023 07:54:31 +0000
(08:54 +0100)
committer
Miquel Raynal
<miquel.raynal@bootlin.com>
Thu, 14 Dec 2023 15:43:15 +0000
(16:43 +0100)
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
drivers/mtd/ssfdc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/ssfdc.c
b/drivers/mtd/ssfdc.c
index 04da685c36be497dff88e0c6029adfcaf1e7c728..211f279a33a9650a0270bb21df38a004e6b108b7 100644
(file)
--- 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;