[PATCH 03/10] qla4xxx: make one file funcs static 01

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Doug Maxey <dwm@xxxxxxxxxxx>

- make defns static as they are used only in file scope.

Signed-off-by: Doug Maxey <dwm@xxxxxxxxxxx>
---

 drivers/scsi/qla4xxx/ql4_os.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c
index 6ae7079..aa30a86 100644
--- a/drivers/scsi/qla4xxx/ql4_os.c
+++ b/drivers/scsi/qla4xxx/ql4_os.c
@@ -1496,7 +1496,7 @@ static int qla4xxx_eh_wait_on_command(st
  * qla4xxx_wait_for_hba_online - waits for HBA to come online
  * @ha: Pointer to host adapter structure
  **/
-int qla4xxx_wait_for_hba_online(struct scsi_qla_host *ha)
+static int qla4xxx_wait_for_hba_online(struct scsi_qla_host *ha)
 {
 	unsigned long wait_online;
 
@@ -1545,8 +1545,8 @@ static int qla4xxx_eh_abort(struct scsi_
  * This function waits for all outstanding commands to a lun to complete. It
  * returns 0 if all pending commands are returned and 1 otherwise.
  **/
-int qla4xxx_eh_wait_for_active_target_commands(struct scsi_qla_host *ha, int t,
-					       int l)
+static int qla4xxx_eh_wait_for_active_target_commands(struct scsi_qla_host *ha,
+						      int t, int l)
 {
 	int cnt;
 	int status;
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux