aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod/file2alias.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2021-02-12 17:10:42 +0000
committerDan Williams <[email protected]>2021-02-17 03:34:57 +0000
commit8409f942a1f8c28296910b7b1d60f27dd3e03162 (patch)
treeedbd3a8a91db1d8fa4684ac93f28e01c76cdae6b /scripts/mod/file2alias.c
parentLinux 5.11-rc6 (diff)
downloadkernel-8409f942a1f8c28296910b7b1d60f27dd3e03162.tar.gz
kernel-8409f942a1f8c28296910b7b1d60f27dd3e03162.zip
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions