aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/spi/spi-mem.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-02-24 17:45:56 +0200
committerMark Brown <broonie@kernel.org>2020-02-24 22:19:38 +0000
commit3d24b2a470466aa901ba8354468fc1899259fd84 (patch)
tree31cddda3509bd6e55cd84b170fbd7e3b53440294 /drivers/spi/spi-mem.c
parentspi: pxa2xx: Return error codes from pxa2xx_spi_init_pdata() (diff)
downloadwireguard-linux-3d24b2a470466aa901ba8354468fc1899259fd84.tar.xz
wireguard-linux-3d24b2a470466aa901ba8354468fc1899259fd84.zip
spi: pxa2xx: drv_data can't be NULL in ->remove()
There is no need for drv_data check against NULL, since it won't happen. Remove useless check. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20200224154556.11627-2-andriy.shevchenko@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-mem.c')
0 files changed, 0 insertions, 0 deletions