diff options
author | Ahmad Fatoum <ahmad@a3f.at> | 2021-09-13 10:30:19 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-10-05 13:51:12 +0200 |
commit | 99ef347449fab1d4d35e4e78bdd21370b2400b04 (patch) | |
tree | 84d03ec01ae9bd21c49dcca8e06ac63a6d220b1d | |
parent | 3a1ab7ccebd47ba349e8ee0b12adc51826994976 (diff) | |
download | barebox-99ef347449fab1d4d35e4e78bdd21370b2400b04.tar.gz barebox-99ef347449fab1d4d35e4e78bdd21370b2400b04.tar.xz |
fs: remove unused struct fs_device_d::parent_device
The parent_device member is unused anywhere, so drop it.
Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Link: https://lore.barebox.org/20210913083019.364599-1-ahmad@a3f.at
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | fs/fs.c | 1 | ||||
-rw-r--r-- | include/fs.h | 1 |
2 files changed, 0 insertions, 2 deletions
@@ -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; |