qla2xxx: Remove unused reverse_ini_mode
With support for dual mode in the driver, this mode becomes dead code. Remove reverse_ini_mode from code. Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com> Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
This commit is contained in:
committed by
Nicholas Bellinger
parent
ead038556f
commit
0ca5593849
@@ -995,14 +995,6 @@ static inline bool qla_dual_mode_enabled(struct scsi_qla_host *ha)
|
||||
return (ha->host->active_mode == MODE_DUAL);
|
||||
}
|
||||
|
||||
static inline void qla_reverse_ini_mode(struct scsi_qla_host *ha)
|
||||
{
|
||||
if (ha->host->active_mode & MODE_INITIATOR)
|
||||
ha->host->active_mode &= ~MODE_INITIATOR;
|
||||
else
|
||||
ha->host->active_mode |= MODE_INITIATOR;
|
||||
}
|
||||
|
||||
static inline uint32_t sid_to_key(const uint8_t *s_id)
|
||||
{
|
||||
uint32_t key;
|
||||
|
||||
Reference in New Issue
Block a user