Skip to content
Commit 1f975074 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Dan Williams
Browse files

libnvdimm: Make remove callback return void



All drivers return 0 in their remove callback and the driver core ignores
the return value of nvdimm_bus_remove() anyhow. So simplify by changing
the driver remove callback to return void and return 0 unconditionally
to the upper layer.

Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20210212171043.2136580-2-u.kleine-koenig@pengutronix.de


Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 8409f942
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment