Commit 4d7b84d1 authored by Antonino A. Daplas's avatar Antonino A. Daplas Committed by Linus Torvalds
Browse files

[PATCH] rivafb: Remove NULL check



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

Coverity Bug 836

Signed-off-by: default avatarAntonino Daplas <adaplas@pol.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent db77ec27
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);