summaryrefslogtreecommitdiff
path: root/drivers/dax
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2021-02-12 18:10:42 +0100
committerDan Williams <dan.j.williams@intel.com>2021-02-16 19:34:57 -0800
commit8409f942a1f8c28296910b7b1d60f27dd3e03162 (patch)
treeedbd3a8a91db1d8fa4684ac93f28e01c76cdae6b /drivers/dax
parent1048ba83fb1c00cd24172e23e8263972f6b5d9ac (diff)
libnvdimm/dimm: Simplify nvdimm_remove()
nvdimm_remove is only ever called after nvdimm_probe() returned successfully. In this case driver data is always set to a non-NULL value so the check for driver data being NULL can go away as it's always false. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20210212171043.2136580-1-u.kleine-koenig@pengutronix.de Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dax')
0 files changed, 0 insertions, 0 deletions