The patch titled Subject: fs/affs/amigaffs.c: remove else after return has been added to the -mm tree. Its filename is fs-affs-amigaffsc-remove-else-after-return.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/fs-affs-amigaffsc-remove-else-after-return.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/fs-affs-amigaffsc-remove-else-after-return.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Fabian Frederick <fabf@xxxxxxxxx> Subject: fs/affs/amigaffs.c: remove else after return else is unnecessary after return -ENAMETOOLONG Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/affs/amigaffs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN fs/affs/amigaffs.c~fs-affs-amigaffsc-remove-else-after-return fs/affs/amigaffs.c --- a/fs/affs/amigaffs.c~fs-affs-amigaffsc-remove-else-after-return +++ a/fs/affs/amigaffs.c @@ -486,8 +486,7 @@ affs_check_name(const unsigned char *nam if (len > AFFSNAMEMAX) { if (notruncate) return -ENAMETOOLONG; - else - len = AFFSNAMEMAX; + len = AFFSNAMEMAX; } for (i = 0; i < len; i++) { if (name[i] < ' ' || name[i] == ':' _ Patches currently in -mm which might be from fabf@xxxxxxxxx are fs-ext4-fsyncc-generic_file_fsync-call-based-on-barrier-flag.patch ocfs2-remove-unnecessary-else-in-ocfs2_set_acl.patch ocfs2-make-resv_lock-spinlock-static.patch add-another-clock-for-use-with-the-soft-lockup-watchdog.patch powerpc-add-running_clock-for-powerpc-to-prevent-spurious-softlockup-warnings.patch fs-befs-linuxvfsc-remove-unnecessary-casting.patch fs-befs-linuxvfsc-remove-unnecessary-casting-fix.patch fs-coda-dirc-forward-declaration-clean-up.patch fs-ufs-superc-remove-unnecessary-casting.patch fs-ufs-superc-fix-potential-race-condition.patch fs-reiserfs-inodec-replace-0-by-null-for-pointers.patch ptrace-remove-linux-compath-inclusion-under-config_compat.patch vmcore-fix-pt_note-n_namesz-n_descsz-overflow-issue.patch fs-affs-filec-replace-if-bug-by-bug_on.patch fs-affs-filec-fix-direct-io-writes-beyond-eof.patch fs-affs-superc-destroy-sbi-mutex-in-affs_kill_sb.patch fs-affs-use-unsigned-int-for-string-lengths.patch define-affsnamemax-to-replace-constant-use.patch fs-affs-amigaffsc-remove-else-after-return.patch fs-affs-bitmapc-remove-unnecessary-return.patch fs-affs-inodec-remove-double-extern-affs_symlink_inode_operations.patch fs-affs-superc-fix-switch-indentation.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html