]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: aacraid: mark aac_src_select_comm() static
authorBaoyou Xie <baoyou.xie@linaro.org>
Sun, 4 Sep 2016 06:47:10 +0000 (14:47 +0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 27 Feb 2017 06:21:08 +0000 (22:21 -0800)
commit9dcee534a33ad7af690e4151b8fccc14297c04f2
tree34d10ef37a35de77104a5b949efd99f3d94a0a95
parent77a52ec14e07f843b610d7480f5dba9b2cdb21e3
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>
(cherry picked from commit a44199eee7fdd2791b39da88938e6de6f5058632)

Orabug: 25505509
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/scsi/aacraid/src.c