This probably was a benign free(NULL) so far, but it serves no point, so drop it. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> --- fs/ramfs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/ramfs.c b/fs/ramfs.c index 14ba87766098..bdaa91dd9e1b 100644 --- a/fs/ramfs.c +++ b/fs/ramfs.c @@ -447,7 +447,6 @@ static int ramfs_probe(struct device_d *dev) static void ramfs_remove(struct device_d *dev) { - free(dev->priv); } static struct fs_driver_d ramfs_driver = { -- 2.30.2 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
On Sat, Oct 30, 2021 at 04:17:07PM +0200, Ahmad Fatoum wrote: > This probably was a benign free(NULL) so far, but it serves no point, so > drop it. > > Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> > --- > fs/ramfs.c | 1 - > 1 file changed, 1 deletion(-) Applied, thanks Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox