linux-stable/drivers/video/fbdev/sis
Sam Ravnborg 604057e984 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 <sam@ravnborg.org>
Reported-by: Colin Ian King <colin.king@canonical.com>
Addresses-Coverity: ("Useless call")
Acked-by: Thomas 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
2020-12-08 18:36:52 +01:00
..
300vtbl.h video: Remove set but not used variable 2020-10-16 22:52:10 +02:00
310vtbl.h
Makefile
init.c video: fbdev: sis: Drop useless call to SiS_GetResInfo() 2020-12-08 18:36:52 +01:00
init.h
init301.c
init301.h
initdef.h
initextlfb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 27 2019-05-24 17:27:10 +02:00
oem300.h
oem310.h video: fbdev: sis: Fix defined but not used warning of SiS_TVDelay 2020-11-30 20:02:50 +01:00
sis.h video: fbdev: sis: Fix defined but not used warnings 2020-11-30 19:29:40 +01:00
sis_accel.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 27 2019-05-24 17:27:10 +02:00
sis_accel.h video: fbdev: sis: remove unneeded semicolon 2020-10-17 08:22:32 +02:00
sis_main.c video: fbdev: sis: Fix set but not used warnings in sis_main 2020-11-30 20:04:17 +01:00
sis_main.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 27 2019-05-24 17:27:10 +02:00
vgatypes.h
vstruct.h