diff options
author | Baoyou Xie <baoyou.xie@linaro.org> | 2016-08-29 10:46:51 (GMT) |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-09-02 10:06:43 (GMT) |
commit | 02ccda2a2ffba8750dcebe13a09ce5f671ffcda6 (patch) | |
tree | 700e6bef2106284e16655a21abfb7b72efdef923 /drivers/scsi/bfa | |
parent | d67e8b385fac90c100fb65b9534616769cd3f9b8 (diff) | |
download | linux-02ccda2a2ffba8750dcebe13a09ce5f671ffcda6.tar.xz |
scsi: qla4xxx: Mark symbols static where possible
We get 1 warning when build kernel with W=1:
drivers/scsi/qla4xxx/ql4_nx.c:1846:10: warning: no previous prototype for 'ql4_84xx_ipmdio_rd_reg' [-Wmissing-prototypes]
In fact, this function is only used in the file in which it is declared
and don't need a declaration, but can be made static. This patch marks
this function with 'static'.
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Acked-by: Nilesh Javali <nilesh.javali@qlogic.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/bfa')
0 files changed, 0 insertions, 0 deletions