aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/nvidia
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2006-03-27 04:17:32 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-27 11:44:56 -0500
commit8ff7727d2a92f8b99cc709b827859da5d3c46a8a (patch)
treea58aba862bed89df05f4926da5d364037583db3f /drivers/video/nvidia
parent4d7b84d1cbb213fdfd2b25ffd1217f249ba1d55a (diff)
[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/video/nvidia')
-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 c758b386f146..018dd8174c7d 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)
1771 struct nvidia_par *par = info->par; 1771 struct nvidia_par *par = info->par;
1772 1772
1773 NVTRACE_ENTER(); 1773 NVTRACE_ENTER();
1774 if (!info)
1775 return;
1776 1774
1777 unregister_framebuffer(info); 1775 unregister_framebuffer(info);
1778#ifdef CONFIG_MTRR 1776#ifdef CONFIG_MTRR