summaryrefslogtreecommitdiff
path: root/drivers/scsi/advansys.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2015-04-24 14:18:38 +0300
committerJames Bottomley <JBottomley@Odin.com>2015-05-26 08:59:12 +0300
commite14f66e921df944ce4c06b7e6ea8f057a32b6b3a (patch)
tree2a87d243dfa9e19fdd73531249c9d38e75ec5625 /drivers/scsi/advansys.c
parent3754fc642ce1e38a4af4d2d181f5967228c68682 (diff)
downloadlinux-e14f66e921df944ce4c06b7e6ea8f057a32b6b3a.tar.xz
advansys: Remove cmd_per_lun setting
Ancient, and pretty much obsolete by now. Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/advansys.c')
-rw-r--r--drivers/scsi/advansys.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c
index 474393e1ad5a..3408f1409444 100644
--- a/drivers/scsi/advansys.c
+++ b/drivers/scsi/advansys.c
@@ -11212,24 +11212,6 @@ static int advansys_board_found(struct Scsi_Host *shost, unsigned int iop,
}
/*
- * Following v1.3.89, 'cmd_per_lun' is no longer needed
- * and should be set to zero.
- *
- * But because of a bug introduced in v1.3.89 if the driver is
- * compiled as a module and 'cmd_per_lun' is zero, the Mid-Level
- * SCSI function 'allocate_device' will panic. To allow the driver
- * to work as a module in these kernels set 'cmd_per_lun' to 1.
- *
- * Note: This is wrong. cmd_per_lun should be set to the depth
- * you want on untagged devices always.
- #ifdef MODULE
- */
- shost->cmd_per_lun = 1;
-/* #else
- shost->cmd_per_lun = 0;
-#endif */
-
- /*
* Set the maximum number of scatter-gather elements the
* adapter can handle.
*/