diff options
author | Yangtao Li <[email protected]> | 2023-07-27 15:00:05 +0800 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2023-08-15 12:45:04 +0200 |
commit | aeaa4cb3097212462031ca5e1f073c759d5fad52 (patch) | |
tree | 9dc99e418a1ff2f2ee18130dabac36853bb56219 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | c61394aa928180f0296c64907c8fff5a6bdd01aa (diff) |
mmc: rtsx_pci: Drop if block with always false condition
rtsx_pci_sdmmc_drv_remove() is only called for a device after
rtsx_pci_sdmmc_drv_probe() returned 0. In that case platform_set_drvdata()
was called with a non-NULL value and so platform_get_drvdata()
won't return NULL.
Cc: Uwe Kleine-König <[email protected]>
Signed-off-by: Yangtao Li <[email protected]>
Reviewed-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions