diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-10-30 16:17:07 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-11-01 10:06:30 +0100 |
commit | 7cc3427c894847f3e43bc43b5aa0bd3cf460a2cc (patch) | |
tree | fdea742948525610aeba1e28ed2fe56c0d1708a6 | |
parent | 2914bb167995713da8b640c8c881c146ee89d626 (diff) | |
download | barebox-7cc3427c894847f3e43bc43b5aa0bd3cf460a2cc.tar.gz barebox-7cc3427c894847f3e43bc43b5aa0bd3cf460a2cc.tar.xz |
fs: ramfs: drop free of unused dev->priv
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>
Link: https://lore.barebox.org/20211030141707.2207152-1-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | fs/ramfs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ramfs.c b/fs/ramfs.c index 14ba877660..bdaa91dd9e 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 = { |