fs: remove unused struct fs_device_d::parent_device
PATCH 1/1 fs: remove unused struct fs_device_d::parent_device
The parent_device member is unused anywhere, so drop it.
Signed-off-by Ahmad Fatoum <[email protected]>
--- fs/fs.c | 1 - include/fs.h | 1 - 2 files changed, 2 deletions(-)
fs/fs.c +0 -1
@@ -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 ; }
include/fs.h +0 -1
@@ -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;
Signature · 7 lines
2.33.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Quoted 1 line · Ahmad Fatoum
The
parent_devicemember is unused anywhere, so drop it.
s/is/isn't/?
Quoted 40 lines
Signed-off-by Ahmad Fatoum <[email protected]>--- fs/fs.c | 1 - include/fs.h | 1 - 2 files changed, 2 deletions(-)fs/fs.c +0
-1@@ -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 ; }include/fs.h +0
-1@@ -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;Signature · 7 lines
2.33.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Roland Hieber, Pengutronix e.K. | [email protected] | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Quoted 4 lines · Roland Hieber
Quoted 1 line · Ahmad Fatoum
The
parent_devicemember is unused anywhere, so drop it.s/is/isn't/?
is unused == isn't used..?
Quoted 42 lines
Quoted 41 lines
Signed-off-by Ahmad Fatoum <[email protected]>--- fs/fs.c | 1 - include/fs.h | 1 - 2 files changed, 2 deletions(-)fs/fs.c +0
-1@@ -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 ; }include/fs.h +0
-1@@ -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;Signature · 7 lines
2.33.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
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 [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Quoted 7 lines · Ahmad Fatoum
Quoted 4 lines · Roland Hieber
Quoted 1 line · Ahmad Fatoum
The
parent_devicemember is unused anywhere, so drop it.s/is/isn't/?
is unused == isn't used..?
Yes. Sorry. Not enough coffee.
- Roland
Signature · 9 lines
Roland Hieber, Pengutronix e.K. | [email protected] | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 7 lines · Ahmad Fatoum
The
parent_devicemember is unused anywhere, so drop it.Signed-off-by Ahmad Fatoum <[email protected]>--- fs/fs.c | 1 - include/fs.h | 1 - 2 files changed, 2 deletions(-)
Applied, thanks
Sascha
Signature · 9 lines
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 [email protected] http://lists.infradead.org/mailman/listinfo/barebox