scsi: cxgb4i: get pf number from lldi->pf
authorVarun Prakash <varun@chelsio.com>
Thu, 21 Feb 2019 14:04:23 +0000 (19:34 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 27 Feb 2019 14:41:45 +0000 (09:41 -0500)
commitb184487c1ac9504cb1f8d02751eac00f0c1581fb
treea08ea717fa23ec53fb27b396f49feb47f84c9c76
parent1749ef00f7312679f76d5e9104c5d1e22a829038
scsi: cxgb4i: get pf number from lldi->pf

Instead of using viid to get pf number, directly get pf number from
lldi->pf.

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