diff options
| author | Sam Ravnborg <[email protected]> | 2020-12-06 19:02:47 +0000 |
|---|---|---|
| committer | Sam Ravnborg <[email protected]> | 2020-12-08 17:36:52 +0000 |
| commit | 604057e984c969cf9f45ded572823e68f4c4b825 (patch) | |
| tree | c025b3a9b8953a5041b9ef240ee7c8bfda72a162 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
| parent | video: fbdev: controlfb: Fix set but not used warnings (diff) | |
| download | kernel-604057e984c969cf9f45ded572823e68f4c4b825.tar.gz kernel-604057e984c969cf9f45ded572823e68f4c4b825.zip | |
video: fbdev: sis: Drop useless call to SiS_GetResInfo()
Coverity reported:
Useless call (USELESS_CALL) side_effect_free: Calling
SiS_GetResInfo(SiS_Pr, ModeNo, ModeIdIndex) is only useful for its
return value, which is ignored.
And this is correct - so drop the call.
Signed-off-by: Sam Ravnborg <[email protected]>
Reported-by: Colin Ian King <[email protected]>
Addresses-Coverity: ("Useless call")
Acked-by: Thomas Zimmermann <[email protected]>
Cc: Colin Ian King <[email protected]>
Cc: Thomas Winischhofer <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions
