aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2006-03-27 01:17:32 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-27 08:44:56 -0800
commit8ff7727d2a92f8b99cc709b827859da5d3c46a8a (patch)
treea58aba862bed89df05f4926da5d364037583db3f /drivers
parent4d7b84d1cbb213fdfd2b25ffd1217f249ba1d55a (diff)
downloadkernel_samsung_aries-8ff7727d2a92f8b99cc709b827859da5d3c46a8a.zip
kernel_samsung_aries-8ff7727d2a92f8b99cc709b827859da5d3c46a8a.tar.gz
kernel_samsung_aries-8ff7727d2a92f8b99cc709b827859da5d3c46a8a.tar.bz2
[PATCH] nvidiafb: Remove NULL check
Remove unnecessary NULL check, as struct info will never be NULL. Coverity Bug 835 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')
-rw-r--r--drivers/video/nvidia/nvidia.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/nvidia/nvidia.c b/drivers/video/nvidia/nvidia.c
index c758b38..018dd81 100644
--- a/drivers/video/nvidia/nvidia.c
+++ b/drivers/video/nvidia/nvidia.c
@@ -1771,8 +1771,6 @@ static void __exit nvidiafb_remove(struct pci_dev *pd)
struct nvidia_par *par = info->par;
NVTRACE_ENTER();
- if (!info)
- return;
unregister_framebuffer(info);
#ifdef CONFIG_MTRR