summaryrefslogtreecommitdiff
path: root/drivers/ddr/microchip
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2022-10-12 21:58:08 +0200
committerSimon Glass <sjg@chromium.org>2022-10-29 07:36:33 -0600
commit4954937d922840c212b7eba297cc2d4779f087ad (patch)
tree7176fea63bf97553b10dbc57b225886476f81309 /drivers/ddr/microchip
parentaa5511e77b8bd8f943c66b6403896d06083b1d92 (diff)
dm: treewide: Do not use the return value of simple uclass iterator
uclass_first_device/uclass_next_device return value will be removed, don't use it. With the current implementation dev is equivalent to !ret. It is redundant to check both, ret check can be replaced with dev check, and ret check inside the iteration is dead code. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/ddr/microchip')
0 files changed, 0 insertions, 0 deletions