diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2006-03-27 11:17:32 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-27 18:44:56 +0200 |
commit | 8ff7727d2a92f8b99cc709b827859da5d3c46a8a (patch) | |
tree | a58aba862bed89df05f4926da5d364037583db3f /drivers/video | |
parent | [PATCH] rivafb: Remove NULL check (diff) | |
download | linux-8ff7727d2a92f8b99cc709b827859da5d3c46a8a.tar.xz linux-8ff7727d2a92f8b99cc709b827859da5d3c46a8a.zip |
[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')
-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 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) struct nvidia_par *par = info->par; NVTRACE_ENTER(); - if (!info) - return; unregister_framebuffer(info); #ifdef CONFIG_MTRR |