fbdev/amifb: Fix double free
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
This commit is contained in:
parent
f0058b4bb0
commit
769ea33145
1 changed files with 0 additions and 1 deletions
|
@ -2464,7 +2464,6 @@ static void amifb_deinit(struct platform_device *pdev)
|
|||
{
|
||||
if (fb_info.cmap.len)
|
||||
fb_dealloc_cmap(&fb_info.cmap);
|
||||
fb_dealloc_cmap(&fb_info.cmap);
|
||||
chipfree();
|
||||
if (videomemory)
|
||||
iounmap((void *)videomemory);
|
||||
|
|
Loading…
Reference in a new issue