Commit 5798c57d authored by Alessandro Rubini's avatar Alessandro Rubini

driver: trivial: remove needless devm_kfree

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 1614801b
......@@ -81,7 +81,6 @@ out:
while (--m, --i >= 0)
if (m->exit)
m->exit(fa);
devm_kfree(&fmc->dev, fa);
return err;
}
int fa_remove(struct fmc_device *fmc)
......@@ -89,7 +88,6 @@ int fa_remove(struct fmc_device *fmc)
struct fa_dev *fa = fmc_get_drvdata(fmc);
fa_zio_exit(fa);
devm_kfree(&fmc->dev, fa);
return 0;
}
......
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