Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]
- Loading branch information