From 99ef347449fab1d4d35e4e78bdd21370b2400b04 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Mon, 13 Sep 2021 10:30:19 +0200 Subject: fs: remove unused struct fs_device_d::parent_device The parent_device member is unused anywhere, so drop it. Signed-off-by: Ahmad Fatoum Link: https://lore.barebox.org/20210913083019.364599-1-ahmad@a3f.at Signed-off-by: Sascha Hauer --- fs/fs.c | 1 - include/fs.h | 1 - 2 files changed, 2 deletions(-) diff --git a/fs/fs.c b/fs/fs.c index b6431227d6..e6fd57b8ac 100644 --- a/fs/fs.c +++ b/fs/fs.c @@ -813,7 +813,6 @@ int fsdev_open_cdev(struct fs_device_d *fsdev) } fsdev->dev.parent = fsdev->cdev->dev; - fsdev->parent_device = fsdev->cdev->dev; return 0; } diff --git a/include/fs.h b/include/fs.h index 5811199c01..cd5eb571e0 100644 --- a/include/fs.h +++ b/include/fs.h @@ -101,7 +101,6 @@ struct fs_device_d { struct cdev *cdev; bool loop; char *path; - struct device_d *parent_device; struct list_head list; char *options; char *linux_rootarg; -- cgit v1.2.3