[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>
This commit is contained in:
Antonino A. Daplas 2006-03-27 01:17:32 -08:00 committed by Linus Torvalds
parent 4d7b84d1cb
commit 8ff7727d2a
1 changed files with 0 additions and 2 deletions

View File

@ -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