diff options
author | kernel test robot <lkp@intel.com> | 2021-07-13 21:10:04 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-08-20 14:07:27 +0200 |
commit | 7a4697b201a617907e4b440ae34df601d4755bef (patch) | |
tree | 3a5df3e7d8cd9817f816d93f2458f5709320dc18 /drivers/spi/spi-rockchip-sfc.c | |
parent | spi: tegra20-slink: remove spi_master_put() in tegra_slink_remove() (diff) | |
download | linux-7a4697b201a617907e4b440ae34df601d4755bef.tar.xz linux-7a4697b201a617907e4b440ae34df601d4755bef.zip |
spi: stm32: fix excluded_middle.cocci warnings
drivers/spi/spi-stm32.c:915:23-25: WARNING !A || A && B is equivalent to !A || B
Condition !A || A && B is equivalent to !A || B.
Generated by: scripts/coccinelle/misc/excluded_middle.cocci
Fixes: 7ceb0b8a3ced ("spi: stm32: finalize message either on dma callback or EOT")
CC: Alain Volmat <alain.volmat@foss.st.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Reviewed-by: Alain Volmat <alain.volmat@foss.st.com>
Link: https://lore.kernel.org/r/20210713191004.GA14729@5eb5c2cbef84
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-rockchip-sfc.c')
0 files changed, 0 insertions, 0 deletions