projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db77ec2
)
[PATCH] rivafb: Remove NULL check
author
Antonino A. Daplas
<adaplas@gmail.com>
Mon, 27 Mar 2006 09:17:31 +0000
(
01:17
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 27 Mar 2006 16:44:56 +0000
(08:44 -0800)
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>
drivers/video/riva/fbdev.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/riva/fbdev.c
b/drivers/video/riva/fbdev.c
index 6c19ab6afb015f8dc371689c1c91f7d1b0f4ba73..f841f013b96f5fa5a8f701e0d475966eff534b62 100644
(file)
--- 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);