diff options
Diffstat (limited to 'drivers/video/sa1100fb.c')
-rw-r--r-- | drivers/video/sa1100fb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/sa1100fb.c b/drivers/video/sa1100fb.c index 33bedf94247ec..4f8043a71f21d 100644 --- a/drivers/video/sa1100fb.c +++ b/drivers/video/sa1100fb.c @@ -1507,8 +1507,7 @@ static int __init sa1100fb_probe(struct device *dev) failed: dev_set_drvdata(dev, NULL); - if (fbi) - kfree(fbi); + kfree(fbi); release_mem_region(0xb0100000, 0x10000); return ret; } |