[PATCH 4/4] fs: omap4_usbbootfs: remove commented out code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The code has been sitting commented out in version control for close
to 7 years now, drop it.

Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 fs/omap4_usbbootfs.c | 41 -----------------------------------------
 1 file changed, 41 deletions(-)

diff --git a/fs/omap4_usbbootfs.c b/fs/omap4_usbbootfs.c
index 169cde7ddb0f..4f159210d1e5 100644
--- a/fs/omap4_usbbootfs.c
+++ b/fs/omap4_usbbootfs.c
@@ -29,39 +29,6 @@ struct file_priv {
 	s32 id;
 	u32 size;
 };
-/*
-static int omap4_usbbootfs_create(
-	struct device_d *dev, const char *pathname, mode_t mode)
-{
-	return -ENOSYS;
-}
-
-static int omap4_usbbootfs_unlink(struct device_d *dev, const char *pathname)
-{
-	return -ENOSYS;
-}
-
-static int omap4_usbbootfs_mkdir(struct device_d *dev, const char *pathname)
-{
-	return -ENOSYS;
-}
-
-static int omap4_usbbootfs_rmdir(struct device_d *dev, const char *pathname)
-{
-	return -ENOSYS;
-}
-
-static int omap4_usbbootfs_write(
-	struct device_d *_dev, FILE *f, const void *inbuf, size_t size)
-{
-	return -ENOSYS;
-}
-
-static int omap4_usbbootfs_truncate(struct device_d *dev, FILE *f, loff_t size)
-{
-	return -ENOSYS;
-}
-*/
 
 static struct file_priv *omap4_usbbootfs_do_open(
 	struct device_d *dev, int accmode, const char *filename)
@@ -187,14 +154,6 @@ static struct fs_driver_d omap4_usbbootfs_driver = {
 	.read    = omap4_usbbootfs_read,
 	.opendir = omap4_usbbootfs_opendir,
 	.stat    = omap4_usbbootfs_stat,
-/*
-	.create	= omap4_usbbootfs_create,
-	.unlink	= omap4_usbbootfs_unlink,
-	.mkdir	= omap4_usbbootfs_mkdir,
-	.rmdir	= omap4_usbbootfs_rmdir,
-	.write	= omap4_usbbootfs_write,
-	.truncate= omap4_usbbootfs_truncate,
-*/
 	.flags	 = 0,
 	.drv = {
 		.probe	= omap4_usbbootfs_probe,
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux