sysfs: remove unused sysfs_buffer->pos
authorTejun Heo <tj@kernel.org>
Tue, 1 Oct 2013 21:41:55 +0000 (17:41 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 Oct 2013 17:54:47 +0000 (10:54 -0700)
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/sysfs/file.c

index 1656a79ea6c0dcad6767ffcb568ac53a5d5f3fd6..81e3f727833f49bf4c76ef875d5ec043f7249c9b 100644 (file)
@@ -44,7 +44,6 @@ struct sysfs_open_dirent {
 
 struct sysfs_buffer {
        size_t                  count;
-       loff_t                  pos;
        char                    *page;
        const struct sysfs_ops  *ops;
        struct mutex            mutex;