linux/drivers/video
Markus Elfring daa0524bc0 video: smscufx: Less checks in ufx_usb_probe() after error detection
Up to four checks could be repeated by the ufx_usb_probe() function
during error handling even if the relevant properties can be determined
for the involved variables before by source code analysis.

* Return directly after a call of the function "kzalloc" failed
  at the beginning.

* Adjust jump targets so that extra checks can be omitted at the end.

* Delete initialisations for the variables "info" and "retval"
  which became unnecessary with this refactoring.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Cc: Steve Glendinning <steve.glendinning@shawell.net>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
2018-03-28 16:34:27 +02:00
..
backlight backlight: tdo24m: Fix the SPI CS between transfers 2018-01-08 09:21:57 +00:00
console video: console: kconfig: Remove AVR32 dep. from VGA_CONSOLE 2018-03-12 17:06:53 +01:00
fbdev video: smscufx: Less checks in ufx_usb_probe() after error detection 2018-03-28 16:34:27 +02:00
logo License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
display_timing.c
hdmi.c video/hdmi: Allow "empty" HDMI infoframes 2017-11-22 16:55:35 +02:00
Kconfig video: remove unused kconfig SH_LCD_MIPI_DSI 2018-03-12 17:06:52 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
of_display_timing.c video: of: display_timing: Remove of_display_timings_exist() function 2018-03-12 17:06:54 +01:00
of_videomode.c video: fbdev: Convert to using %pOF instead of full_name 2017-08-07 17:22:13 +02:00
vgastate.c fbdev: vgastate: remove trailing whitespaces 2015-01-13 12:53:25 +02:00
videomode.c