diff mbox series

spi: spi-qpic-snand: remove unused 'wlen' member of 'struct qpic_spi_nand'

Message ID 20250424-qpic-snand-remove-wlen-v1-1-2a7467ce2e3a@gmail.com
State New
Headers show
Series spi: spi-qpic-snand: remove unused 'wlen' member of 'struct qpic_spi_nand' | expand

Commit Message

Gabor Juhos April 24, 2025, 6:10 p.m. UTC
The 'wlen' member of the qpic_spi_nand structure is never used in the
code so remove that.

Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
---
 drivers/spi/spi-qpic-snand.c | 1 -
 1 file changed, 1 deletion(-)


---
base-commit: 9c32cda43eb78f78c73aee4aa344b777714e259b
change-id: 20250424-qpic-snand-remove-wlen-c0cef3801a7f

Best regards,
diff mbox series

Patch

diff --git a/drivers/spi/spi-qpic-snand.c b/drivers/spi/spi-qpic-snand.c
index 17eb67e19132612c4c1a84848fa6f7432b1130a8..5d364b881566d396288f7de7c23dc0ac60fc82dc 100644
--- a/drivers/spi/spi-qpic-snand.c
+++ b/drivers/spi/spi-qpic-snand.c
@@ -116,7 +116,6 @@  struct qpic_spi_nand {
 	struct nand_ecc_engine ecc_eng;
 	u8 *data_buf;
 	u8 *oob_buf;
-	u32 wlen;
 	__le32 addr1;
 	__le32 addr2;
 	__le32 cmd;