Home
last modified time | relevance | path

Searched hist:"3 d24b2a470466aa901ba8354468fc1899259fd84" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/spi/
H A Dspi-pxa2xx.cdiff 3d24b2a470466aa901ba8354468fc1899259fd84 Mon Feb 24 09:45:56 CST 2020 Andy Shevchenko <andriy.shevchenko@linux.intel.com> 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>