]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
spi: spi-qpic-snand: remove unused 'dev' member of struct 'qpic_ecc'
authorGabor Juhos <j4g8y7@gmail.com>
Sun, 10 Aug 2025 14:38:50 +0000 (16:38 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 11 Aug 2025 16:18:52 +0000 (17:18 +0100)
The 'dev' member of the 'qpic_ecc' structure is never used in the
code so remove that.

No functional changes.

Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://patch.msgid.link/20250810-qpic-snand-qpic_ecc-cleanup-v1-1-33a6b2bcbc67@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-qpic-snand.c

index 0ceaad7dba3cb5ae68eb428f27d4ebbb2a26cdf2..53fe248a4b9a9e7c6eab7a59af70eb81bfb947d1 100644 (file)
@@ -78,7 +78,6 @@ struct qcom_ecc_stats {
 };
 
 struct qpic_ecc {
-       struct device *dev;
        int ecc_bytes_hw;
        int spare_bytes;
        int bbm_size;