diff options
author | Baoyou Xie <baoyou.xie@linaro.org> | 2016-09-04 08:47:10 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-09-09 13:08:38 +0200 |
commit | a44199eee7fdd2791b39da88938e6de6f5058632 (patch) | |
tree | 7371f62c46ad74083c01684e89c802aaa2c021f6 /scripts/gcc-version.sh | |
parent | scsi: bnx2fc: Simplify code (diff) | |
download | linux-a44199eee7fdd2791b39da88938e6de6f5058632.tar.xz linux-a44199eee7fdd2791b39da88938e6de6f5058632.zip |
scsi: aacraid: mark aac_src_select_comm() static
We get 1 warning when building kernel with W=1:
drivers/scsi/aacraid/src.c:616:5: warning: no previous prototype for 'aac_src_select_comm' [-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. so this patch
marks this function with 'static'.
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Dave Carroll <david.carroll@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/gcc-version.sh')
0 files changed, 0 insertions, 0 deletions