scsi: qla2xxx: Remove a superfluous forward declaration
authorBart Van Assche <bvanassche@acm.org>
Fri, 9 Aug 2019 03:01:28 +0000 (20:01 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Aug 2019 01:34:05 +0000 (21:34 -0400)
Since qlt_make_local_sess() is defined before it is called, remove the
forward declaration of that function.

Cc: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_target.c

index d0061ae1488ebca5af12cacb9d5edbe580afdbe9..4c5f9c02c3796019877831e11d7c548632bd8703 100644 (file)
@@ -4106,8 +4106,6 @@ static inline int qlt_get_fcp_task_attr(struct scsi_qla_host *vha,
        return fcp_task_attr;
 }
 
-static struct fc_port *qlt_make_local_sess(struct scsi_qla_host *,
-                                       uint8_t *);
 /*
  * Process context for I/O path into tcm_qla2xxx code
  */