diff options
author | kernel test robot <lkp@intel.com> | 2022-04-21 23:09:46 +0800 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2022-04-22 10:38:35 +0200 |
commit | 0e48711f602064705bf81eebe6f627ee1bc11d3b (patch) | |
tree | eb3a6fb9a9c923ba2c8a170b156c7e1dfd5de07e /drivers/gpu/drm/drm_vm.c | |
parent | 8f97344aa04b29acd69e592c3708b9045cf62794 (diff) |
drm: bridge: dw_hdmi: Audio: fix returnvar.cocci warnings
drivers/gpu/drm/bridge/synopsys/dw-hdmi-gp-audio.c:80:5-8: Unneeded variable: "ret". Return "0" on line 94
drivers/gpu/drm/bridge/synopsys/dw-hdmi-gp-audio.c:105:5-8: Unneeded variable: "ret". Return "0" on line 112
Remove unneeded variable used to store return value.
Generated by: scripts/coccinelle/misc/returnvar.cocci
CC: Sandor Yu <Sandor.yu@nxp.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/YmFzutFV/iDyEQF2@dd18de969aa6
Diffstat (limited to 'drivers/gpu/drm/drm_vm.c')
0 files changed, 0 insertions, 0 deletions