aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-03-12 17:14:45 +0100
committerStephen Boyd <[email protected]>2023-03-28 19:23:35 -0700
commitb46d59cb18321705d7fe8cf84c20e01553116418 (patch)
treece495e0c79fe127f6dced6e7843225ecff92d7db /scripts/gdb/linux/modules.py
parentc73e435e9b754d43aa8925152caedd54758e55be (diff)
clk: xilinx: Drop if block with always false condition
xvcu_remove() is only called for a device after after xvcu_probe() completed successfully. In that case dev_set_drvdata() was called for that device with a non-NULL parameter, so platform_get_drvdata() won't return NULL and the if condition is never true. Drop the if, preparing a conversion to make platform driver's remove callback return void. Signed-off-by: Uwe Kleine-König <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions