diff options
author | Wan Jiabing <wanjiabing@vivo.com> | 2021-04-01 14:59:04 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-04-01 12:19:45 +0100 |
commit | d6644a1c2e17febf261fd692bb32271e5779bbd2 (patch) | |
tree | 73d8e510ae5ffc7b1f7edd05a93ca36d8f2ec8ae /include/linux | |
parent | e667450802e4ee46ba6a00c212f7841293204662 (diff) | |
download | linux-stable-d6644a1c2e17febf261fd692bb32271e5779bbd2.tar.gz linux-stable-d6644a1c2e17febf261fd692bb32271e5779bbd2.tar.bz2 linux-stable-d6644a1c2e17febf261fd692bb32271e5779bbd2.zip |
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@vivo.com>
Link: https://lore.kernel.org/r/20210401065904.994121-1-wanjiabing@vivo.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/spi/spi.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h index 6d5b1866cc89..4b192e74f024 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 |