From: "Antonino A. Daplas" Remove unnecessary NULL check, as struct info will never be NULL. Coverity Bug 836 Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton --- drivers/video/riva/fbdev.c | 2 -- 1 files changed, 2 deletions(-) diff -puN drivers/video/riva/fbdev.c~rivafb-remove-null-check drivers/video/riva/fbdev.c --- devel/drivers/video/riva/fbdev.c~rivafb-remove-null-check 2006-03-11 00:25:31.000000000 -0800 +++ devel-akpm/drivers/video/riva/fbdev.c 2006-03-11 00:25:31.000000000 -0800 @@ -2072,8 +2072,6 @@ static void __exit rivafb_remove(struct struct riva_par *par = info->par; NVTRACE_ENTER(); - if (!info) - return; #ifdef CONFIG_FB_RIVA_I2C riva_delete_i2c_busses(par); _