fs-adfs-remove-unneeded-variable-make-code-cleaner.patch removed from -mm tree
The patch titled
Subject: fs/adfs: remove unneeded variable make code cleaner
has been removed from the -mm tree. Its filename was
fs-adfs-remove-unneeded-variable-make-code-cleaner.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Minghao Chi <[email protected]>
Subject: fs/adfs: remove unneeded variable make code cleaner
Return value directly instead of taking this in a variable.
Signed-off-by Minghao Chi <[email protected]>
Reported-by Zeal Robot <[email protected]>
Cc Christian Brauner <[email protected]>
Cc Jan Kara <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
fs/adfs/inode.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
fs/adfs/inode.c renamed from fs/adfs/inode.c~fs-adfs-remove-unneeded-variable-make-code-cleaner +1 -3
@@ -355,7 +355,6 @@ int adfs_write_inode(struct inode *inode {struct super_block *sb = inode->i_sb;struct object_info obj; -int ret; obj.indaddr =ADFS_I (inode)->indaddr; obj.name_len =0 ;
@@ -365,6 +364,5 @@ int adfs_write_inode(struct inode *inode obj.attr =ADFS_I (inode)->attr; obj.size = inode->i_size; - ret =adfs_dir_update (sb, &obj, wbc->sync_mode ==WB_SYNC_ALL ); -return ret; +return adfs_dir_update (sb, &obj, wbc->sync_mode ==WB_SYNC_ALL ); }
_
Patches currently in -mm which might be from [email protected] are
ipc-sem-do-not-sleep-with-a-spin-lock-held.patch