diff options
Diffstat (limited to 'drivers/video/riva/fbdev.c')
-rw-r--r-- | drivers/video/riva/fbdev.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/riva/fbdev.c b/drivers/video/riva/fbdev.c index 6c19ab6afb01..f841f013b96f 100644 --- a/drivers/video/riva/fbdev.c +++ b/drivers/video/riva/fbdev.c | |||
@@ -2072,8 +2072,6 @@ static void __exit rivafb_remove(struct pci_dev *pd) | |||
2072 | struct riva_par *par = info->par; | 2072 | struct riva_par *par = info->par; |
2073 | 2073 | ||
2074 | NVTRACE_ENTER(); | 2074 | NVTRACE_ENTER(); |
2075 | if (!info) | ||
2076 | return; | ||
2077 | 2075 | ||
2078 | #ifdef CONFIG_FB_RIVA_I2C | 2076 | #ifdef CONFIG_FB_RIVA_I2C |
2079 | riva_delete_i2c_busses(par); | 2077 | riva_delete_i2c_busses(par); |