Skip to content

Commit

Permalink
[PATCH] rivafb: Remove NULL check
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed Mar 27, 2006
1 parent db77ec2 commit 4d7b84d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/video/riva/fbdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4d7b84d

Please sign in to comment.