]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Declare qla2x00_find_new_loop_id() static
authorBart Van Assche <bvanassche@acm.org>
Wed, 17 Apr 2019 21:44:13 +0000 (14:44 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 29 Apr 2019 21:24:49 +0000 (17:24 -0400)
commit4233574e5f7490beb739f0507cd1f7896e522168
tree6c5e53604e794c4da0eb0a0608e0d7454278f49a
parentb91c9c57e62bd85a16e263173844c8509ad94616
scsi: qla2xxx: Declare qla2x00_find_new_loop_id() static

Since all qla2x00_find_new_loop_id() calls occur in the same source file as
the definition of this function, move that function to just before its
first caller and declare it static. Convert the header above this function
into kernel-doc format.

Cc: Himanshu Madhani <hmadhani@marvell.com>
Cc: Giridhar Malavali <gmalavali@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_gbl.h
drivers/scsi/qla2xxx/qla_init.c