diff options
author | 2021-02-12 18:10:43 +0100 | |
---|---|---|
committer | 2021-02-16 19:35:29 -0800 | |
commit | 1f975074634a63f014e2b7e76852ee6d6005a91d (patch) | |
tree | 8fa1e0b3eacfb3299bb7384a191067114cffd155 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | libnvdimm/dimm: Simplify nvdimm_remove() (diff) | |
download | wireguard-linux-1f975074634a63f014e2b7e76852ee6d6005a91d.tar.xz wireguard-linux-1f975074634a63f014e2b7e76852ee6d6005a91d.zip |
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: Uwe 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: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions