scsi: mpt3sas: make function _get_st_from_smid static
authorColin Ian King <colin.king@canonical.com>
Thu, 11 Jan 2018 16:55:39 +0000 (16:55 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 17 Jan 2018 06:02:14 +0000 (01:02 -0500)
commit61dfb8a5fb7e93e692856026fa4c778a27f28984
tree49f0006f23ea72a74ba6070a039c7c7868599d83
parent1e15feacb9d3743ca0b314a6daf8cc59c90b1046
scsi: mpt3sas: make function _get_st_from_smid static

The function _get_st_from_smid is local to the source and does not need
to be in global scope, so make it static.

Cleans up sparse warning:
symbol '_get_st_from_smid' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c