Tag: 6049a7a2535bf0b5021b527e60dee9eda022bc90

video: fbdev-SIS: Deletion of unnecessary checks before the function call “pci_dev_put”

Author: Markus Elfring <elfring@users.sourceforge.net> The pci_dev_put() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Tomi Valkeinen — drivers/video/fbdev/sis/sis_main.c | 14 +++++——— 1 file changed, 5 insertions(+), 9 deletions(-)   diff …

Continue reading