- scsi-removed-one-unneeded-shost-active_mode-assignment.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     scsi: removed one unneeded shost->active_mode assignment
has been removed from the -mm tree.  Its filename was
     scsi-removed-one-unneeded-shost-active_mode-assignment.patch

This patch was dropped because it was merged into mainline or a subsystem tree

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
git-scsi-misc.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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux