Commit a23ab0e5 authored by Federico Vaga's avatar Federico Vaga

zio-cdev: fix zio_ffa_destroy() on zio_unregister_cdev()

Signed-off-by: 's avatarFederico Vaga <federico.vaga@gmail.com>
Acked-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 3ad30417
......@@ -283,6 +283,7 @@ void zio_unregister_cdev()
cdev_del(&zstat->chrdev);
unregister_chrdev_region(zstat->basedev, ZIO_NR_MINORS);
class_unregister(&zio_class);
zio_ffa_destroy(zstat->minors);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment