Revert "fbdev: pxafb: Fix possible use after free in pxafb_task()"

This reverts commit f08b6c3e14.
This commit is contained in:
Ksawlii 2024-11-24 00:23:07 +01:00
parent 734a82005c
commit 2aa1f13a96

View file

@ -2408,7 +2408,6 @@ static int pxafb_remove(struct platform_device *dev)
info = &fbi->fb;
pxafb_overlay_exit(fbi);
cancel_work_sync(&fbi->task);
unregister_framebuffer(info);
pxafb_disable_controller(fbi);