[PATCH 16/26] sh: maple: remove unused driver field from struct maple_device
Dmitry Torokhov
dmitry.torokhov at gmail.com
Fri Jul 3 22:57:39 PDT 2026
The driver field in struct maple_device was not really used since
commit 1795cf48b322 ("sh/maple: clean maple bus code") which removed
the reading of this field.
Now that all the writers are gone as well, remove the field from struct
maple_device.
Assisted-by: Antigravity:gemini-3.5-flash
Signed-off-by: Dmitry Torokhov <dmitry.torokhov at gmail.com>
---
include/linux/maple.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/maple.h b/include/linux/maple.h
index 22f2930251ed..90c26c86e3ed 100644
--- a/include/linux/maple.h
+++ b/include/linux/maple.h
@@ -64,7 +64,6 @@ struct maple_devinfo {
};
struct maple_device {
- struct maple_driver *driver;
struct mapleq *mq;
void (*callback) (struct mapleq * mq);
void (*fileerr_handler)(struct maple_device *mdev, void *recvbuf);
--
2.55.0.rc0.799.gd6f94ed593-goog
More information about the linux-mtd
mailing list