Message ID | 20210401065904.994121-1-wanjiabing@vivo.com (mailing list archive) |
---|---|
State | Accepted |
Commit | d6644a1c2e17febf261fd692bb32271e5779bbd2 |
Headers | show |
Series | linux/spi: Remove repeated struct declaration | expand |
On Thu, Apr 01, 2021 at 02:59:04PM +0800, Wan Jiabing wrote: > struct spi_transfer is declared twice. One is declared at 24th line. > The blew one is not needed though. Remove the duplicate. Please submit patches using subject lines reflecting the style for the subsystem, this makes it easier for people to identify relevant patches. Look at what existing commits in the area you're changing are doing and make sure your subject lines visually resemble what they're doing. There's no need to resubmit to fix this alone.
On Thu, 1 Apr 2021 14:59:04 +0800, Wan Jiabing wrote: > struct spi_transfer is declared twice. One is declared at 24th line. > The blew one is not needed though. Remove the duplicate. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] linux/spi: Remove repeated struct declaration commit: d6644a1c2e17febf261fd692bb32271e5779bbd2 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
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(-)