forked from Minki/linux
[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:
parent
4d7b84d1cb
commit
8ff7727d2a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user