Message ID | 20210401065904.994121-1-wanjiabing@vivo.com |
---|---|
State | Accepted |
Commit | d6644a1c2e17febf261fd692bb32271e5779bbd2 |
Headers | show |
Series | linux/spi: Remove repeated struct declaration | expand |
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
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@vivo.com> --- include/linux/spi/spi.h | 1 - 1 file changed, 1 deletion(-)