yaffs: Clean up unused variable
authorCharles Manning <cdhmanning@gmail.com>
Thu, 17 Jun 2010 03:57:47 +0000 (15:57 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Thu, 17 Jun 2010 03:57:47 +0000 (15:57 +1200)
Remove warning.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs_fs.c

index 662562f..36cbd4e 100644 (file)
@@ -1976,7 +1976,6 @@ ssize_t yaffs_listxattr(struct dentry *dentry, char *buff, size_t size)
 
 
        if (error == 0) {
-               int result;
                dev = obj->myDev;
                yaffs_GrossLock(dev);
                error = yaffs_ListXAttributes(obj, buff, size);