[PATCH] rivafb: Remove NULL check

Remove unnecessary NULL check, as struct info will never be NULL.

Coverity Bug 836

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:31 -08:00 committed by Linus Torvalds
parent db77ec270d
commit 4d7b84d1cb
1 changed files with 0 additions and 2 deletions

View File

@ -2072,8 +2072,6 @@ static void __exit rivafb_remove(struct pci_dev *pd)
struct riva_par *par = info->par;
NVTRACE_ENTER();
if (!info)
return;
#ifdef CONFIG_FB_RIVA_I2C
riva_delete_i2c_busses(par);