scsi: cxgb4i: use cxgb4_tp_smt_idx() to get smt_idx
authorVarun Prakash <varun@chelsio.com>
Thu, 1 Dec 2016 14:58:27 +0000 (20:28 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 14 Dec 2016 20:08:16 +0000 (15:08 -0500)
commite0eed8ab7379faba26f9d85a5904b8292dc4d8b9
tree7af9832cf3e1331fe30acc9a1c86d676b3b4f9f3
parentace7f46ba5fde7273207c7122b0650ceb72510e0
scsi: cxgb4i: use cxgb4_tp_smt_idx() to get smt_idx

cxgb4_tp_smt_idx() is defined in cxgb4 driver, it returns smt_idx for
T4,T5,T6 adapters.

Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c