diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2006-03-27 09:17:32 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-27 16:44:56 (GMT) |
commit | 8ff7727d2a92f8b99cc709b827859da5d3c46a8a (patch) | |
tree | a58aba862bed89df05f4926da5d364037583db3f /drivers/video/nvidia | |
parent | 4d7b84d1cbb213fdfd2b25ffd1217f249ba1d55a (diff) | |
download | linux-fsl-qoriq-8ff7727d2a92f8b99cc709b827859da5d3c46a8a.tar.xz |
[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.c | 2 |
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 |