mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-14 21:01:29 +00:00
[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:
parent
db77ec270d
commit
4d7b84d1cb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user