aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2022-06-03 23:07:51 +0200
committerMiquel Raynal <[email protected]>2022-06-09 15:06:19 +0200
commit279d719be39d8edb37c9178c15e167a94c7bc0a0 (patch)
treed9c084f18ac79bab97237902bde9743e03ae0251 /lib/mpi/mpi-sub-ui.c
parent0057568b391488a5940635cbda562ea397bf4bdd (diff)
mtd: spear_smi: Drop if with an always false condition
The remove callback is only called after probe completed successfully. In this case platform_set_drvdata() was called with a non-NULL argument and so dev is never NULL. This is a preparation for making platform remove callbacks return void. Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions