Skip to content
Snippets Groups Projects
Commit 604057e9 authored by Sam Ravnborg's avatar Sam Ravnborg
Browse files

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: default avatarSam Ravnborg <sam@ravnborg.org>
Reported-by: default avatarColin Ian King <colin.king@canonical.com>
Addresses-Coverity: ("Useless call")
Acked-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Cc: Colin Ian King <colin.king@canonical.com>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20201206190247.1861316-14-sam@ravnborg.org
parent 4aca4dbc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment