summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2006-03-27 01:17:31 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-27 08:44:56 -0800
commit4d7b84d1cbb213fdfd2b25ffd1217f249ba1d55a (patch)
treee9719e4dd51cf951e8cb54b2103663f05ac41a7d /drivers/video
parentdb77ec270d00098ff4fbf15f62f4506f6efb25d2 (diff)
downloadop-kernel-dev-4d7b84d1cbb213fdfd2b25ffd1217f249ba1d55a.zip
op-kernel-dev-4d7b84d1cbb213fdfd2b25ffd1217f249ba1d55a.tar.gz
[PATCH] rivafb: Remove NULL check
Remove unnecessary NULL check, as struct info will never be NULL. Coverity Bug 836 Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/riva/fbdev.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/riva/fbdev.c b/drivers/video/riva/fbdev.c
index 6c19ab6..f841f01 100644
--- a/drivers/video/riva/fbdev.c
+++ b/drivers/video/riva/fbdev.c
@@ -2072,8 +2072,6 @@ static void __exit rivafb_remove(struct pci_dev *pd)
struct riva_par *par = info->par;
NVTRACE_ENTER();
- if (!info)
- return;
#ifdef CONFIG_FB_RIVA_I2C
riva_delete_i2c_busses(par);
OpenPOWER on IntegriCloud