The patch titled scsi: removed one unneeded shost->active_mode assignment has been added to the -mm tree. Its filename is scsi-removed-one-unneeded-shost-active_mode-assignment.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 *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: scsi: removed one unneeded shost->active_mode assignment From: Denis Cheng <crquan@xxxxxxxxx> In the following if/else statement, shost->active_mode will always be set, so this assignment is unneeded. Signed-off-by: Denis Cheng <crquan@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/scsi/hosts.c | 1 - 1 file changed, 1 deletion(-) diff -puN drivers/scsi/hosts.c~scsi-removed-one-unneeded-shost-active_mode-assignment drivers/scsi/hosts.c --- a/drivers/scsi/hosts.c~scsi-removed-one-unneeded-shost-active_mode-assignment +++ a/drivers/scsi/hosts.c @@ -341,7 +341,6 @@ struct Scsi_Host *scsi_host_alloc(struct shost->unchecked_isa_dma = sht->unchecked_isa_dma; shost->use_clustering = sht->use_clustering; shost->ordered_tag = sht->ordered_tag; - shost->active_mode = sht->supported_mode; if (sht->supported_mode == MODE_UNKNOWN) /* means we didn't set it ... default to INITIATOR */ _ Patches currently in -mm which might be from crquan@xxxxxxxxx are git-gfs2-nmw.patch 3w-raid-drivers-memset-not-needed-in-probe.patch scsi-removed-one-unneeded-shost-active_mode-assignment.patch ipmi-remove-unused-target-and-action-in-makefile.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