]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit94f5b9167e902bf7f30ef09fc02a74a71498ffee
tree6c5e53604e794c4da0eb0a0608e0d7454278f49a
parent0e145a595d4113caee8c1d9d3345781567c43826
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