scsi: arcmsr: replace constant ARCMSR_MAX_FREECCB_NUM
authorChing Huang <ching2048@areca.com.tw>
Tue, 5 Dec 2017 01:44:23 +0000 (09:44 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 7 Dec 2017 00:32:40 +0000 (19:32 -0500)
commitd076e4aaf67d10a53597290ce4b8455e06d8074f
treea5b4814d2393909fe74f2edfd9eaedb205cf863d
parentaa4d1d56764aee510614c066324311c6c62c19b8
scsi: arcmsr: replace constant ARCMSR_MAX_FREECCB_NUM

Replace constant ARCMSR_MAX_FREECCB_NUM by variable acb->maxFreeCCB that
was received from firmware.

Signed-off-by: Ching Huang <ching2048@areca.com.tw>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/arcmsr/arcmsr.h
drivers/scsi/arcmsr/arcmsr_hba.c