The patch titled spi: remove return in spi_unregister_driver() has been removed from the -mm tree. Its filename was spi-remove-return-in-spi_unregister_driver.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: spi: remove return in spi_unregister_driver() From: Ben Dooks <ben@xxxxxxxxx> Make the spi_unregister_driver() code fit in with the rest of the header file, and only do the action if the driver passed is non-NULL. This also makes the code a line smaller. Signed-off-by: Ben Dooks <ben-linux@xxxxxxxxx> Signed-off-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/spi/spi.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff -puN include/linux/spi/spi.h~spi-remove-return-in-spi_unregister_driver include/linux/spi/spi.h --- a/include/linux/spi/spi.h~spi-remove-return-in-spi_unregister_driver +++ a/include/linux/spi/spi.h @@ -148,13 +148,11 @@ extern int spi_register_driver(struct sp static inline void spi_unregister_driver(struct spi_driver *sdrv) { - if (!sdrv) - return; - driver_unregister(&sdrv->driver); + if (sdrv) + driver_unregister(&sdrv->driver); } - /** * struct spi_master - interface to SPI master controller * @cdev: class interface to this driver _ Patches currently in -mm which might be from ben@xxxxxxxxx are origin.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html