From: Wan Jiabing Date: Thu, 1 Apr 2021 06:59:04 +0000 (+0800) Subject: spi: Remove repeated struct declaration X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d6644a1c2e17febf261fd692bb32271e5779bbd2;p=linux.git 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 Link: https://lore.kernel.org/r/20210401065904.994121-1-wanjiabing@vivo.com Signed-off-by: Mark Brown --- diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h index 6d5b1866cc891..4b192e74f024b 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