diff options
author | Uwe Kleine-König <[email protected]> | 2023-11-02 23:02:50 +0100 |
---|---|---|
committer | Miquel Raynal <[email protected]> | 2023-11-13 12:06:47 +0100 |
commit | 354dbdcbdd79ec417f6c35f55b1fe6310e7dd431 (patch) | |
tree | 33a45ef6ba413d0aac1e2aa78e2a3ff5d3b1ea6e /scripts/generate_rust_analyzer.py | |
parent | 160c0b7f9a166d62a3aa32853883666eda896c58 (diff) |
mtd: rawnand: txx9ndfmc: Drop if block with always false condition
txx9ndfmc_remove() is only called after txx9ndfmc_probe() completed
successfully. In this case platform_set_drvdata() was called with a
non-NULL argument and so platform_get_drvdata() won't return NULL.
Simplify by removing the if block with the always false condition.
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions