OpenCloudOS-Kernel/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 treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
init.c video: fbdev: sis: Drop useless call to SiS_GetResInfo() 2020-12-08 18:36:52 +01:00
init.h video: fbdev: sis: avoid mismatched prototypes 2018-03-12 17:06:52 +01:00
init301.c video: fbdev: sis: Remove unnecessary parentheses and commented code 2018-10-08 12:57:36 +02:00
init301.h video: fbdev: sis: avoid mismatched prototypes 2018-03-12 17:06:52 +01:00
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