[PATCH 0/9] video: fbdev: Deletion of some unnecessary checks

2015-01-19 Thread SF Markus Elfring
From: Markus Elfring 
Date: Mon, 19 Jan 2015 17:57:25 +0100

Further update suggestions were taken into account after a patch was applied
from static source code analysis.

Markus Elfring (9):
  fbdev: Deletion of checks before the function call "iounmap"
  One function call less in tdfxfb_probe() after error detection
  One function call less in vesafb_probe() after error detection
  Add check for return value of ioremap() in cirrusfb_pci_register()
  Less function calls in trident_pci_probe() after error detection
  One function call less in pvr2fb_common_init() after error detection
  One function call less in tgafb_register() after error detection
  Less function calls in valkyriefb_init() after error detection
  Less function calls in w100fb_probe() after error detection

 drivers/video/fbdev/aty/atyfb_base.c   | 15 +
 drivers/video/fbdev/cirrusfb.c | 10 ++---
 drivers/video/fbdev/controlfb.c|  6 ++---
 drivers/video/fbdev/efifb.c|  3 +--
 drivers/video/fbdev/hgafb.c|  3 +--
 drivers/video/fbdev/hpfb.c |  3 +--
 drivers/video/fbdev/i810/i810_main.c   |  6 ++---
 drivers/video/fbdev/macfb.c| 15 +
 drivers/video/fbdev/offb.c |  3 +--
 drivers/video/fbdev/pvr2fb.c   | 15 ++---
 drivers/video/fbdev/s1d13xxxfb.c   |  3 +--
 drivers/video/fbdev/s3fb.c |  6 ++---
 drivers/video/fbdev/sh_mobile_hdmi.c   |  6 ++---
 drivers/video/fbdev/sh_mobile_lcdcfb.c |  3 +--
 drivers/video/fbdev/simplefb.c |  3 +--
 drivers/video/fbdev/stifb.c|  3 +--
 drivers/video/fbdev/tdfxfb.c   | 22 +--
 drivers/video/fbdev/tgafb.c| 20 -
 drivers/video/fbdev/tridentfb.c| 15 +++--
 drivers/video/fbdev/valkyriefb.c   | 37 ++-
 drivers/video/fbdev/vesafb.c   | 11 +-
 drivers/video/fbdev/w100fb.c   | 40 +-
 22 files changed, 116 insertions(+), 132 deletions(-)

-- 
2.2.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 0/9] video: fbdev: Deletion of some unnecessary checks

2015-01-19 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net
Date: Mon, 19 Jan 2015 17:57:25 +0100

Further update suggestions were taken into account after a patch was applied
from static source code analysis.

Markus Elfring (9):
  fbdev: Deletion of checks before the function call iounmap
  One function call less in tdfxfb_probe() after error detection
  One function call less in vesafb_probe() after error detection
  Add check for return value of ioremap() in cirrusfb_pci_register()
  Less function calls in trident_pci_probe() after error detection
  One function call less in pvr2fb_common_init() after error detection
  One function call less in tgafb_register() after error detection
  Less function calls in valkyriefb_init() after error detection
  Less function calls in w100fb_probe() after error detection

 drivers/video/fbdev/aty/atyfb_base.c   | 15 +
 drivers/video/fbdev/cirrusfb.c | 10 ++---
 drivers/video/fbdev/controlfb.c|  6 ++---
 drivers/video/fbdev/efifb.c|  3 +--
 drivers/video/fbdev/hgafb.c|  3 +--
 drivers/video/fbdev/hpfb.c |  3 +--
 drivers/video/fbdev/i810/i810_main.c   |  6 ++---
 drivers/video/fbdev/macfb.c| 15 +
 drivers/video/fbdev/offb.c |  3 +--
 drivers/video/fbdev/pvr2fb.c   | 15 ++---
 drivers/video/fbdev/s1d13xxxfb.c   |  3 +--
 drivers/video/fbdev/s3fb.c |  6 ++---
 drivers/video/fbdev/sh_mobile_hdmi.c   |  6 ++---
 drivers/video/fbdev/sh_mobile_lcdcfb.c |  3 +--
 drivers/video/fbdev/simplefb.c |  3 +--
 drivers/video/fbdev/stifb.c|  3 +--
 drivers/video/fbdev/tdfxfb.c   | 22 +--
 drivers/video/fbdev/tgafb.c| 20 -
 drivers/video/fbdev/tridentfb.c| 15 +++--
 drivers/video/fbdev/valkyriefb.c   | 37 ++-
 drivers/video/fbdev/vesafb.c   | 11 +-
 drivers/video/fbdev/w100fb.c   | 40 +-
 22 files changed, 116 insertions(+), 132 deletions(-)

-- 
2.2.2

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/