[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210401065904.994121-1-wanjiabing@vivo.com>
Date: Thu, 1 Apr 2021 14:59:04 +0800
From: Wan Jiabing <wanjiabing@...o.com>
To: Mark Brown <broonie@...nel.org>, linux-spi@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: kael_w@...h.net, Wan Jiabing <wanjiabing@...o.com>
Subject: [PATCH] linux/spi: Remove repeated struct declaration
struct spi_transfer is declared twice. One is declared at 24th line.
The blew one is not needed though. Remove the duplicate.
Signed-off-by: Wan Jiabing <wanjiabing@...o.com>
---
include/linux/spi/spi.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h
index 592897fa4f03..c345392a11ee 100644
--- a/include/linux/spi/spi.h
+++ b/include/linux/spi/spi.h
@@ -247,7 +247,6 @@ static inline void *spi_get_drvdata(struct spi_device *spi)
}
struct spi_message;
-struct spi_transfer;
/**
* struct spi_driver - Host side "protocol" driver
--
2.25.1
Powered by blists - more mailing lists