]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
target: make device_mutex and device_list static
authorColin Ian King <colin.king@canonical.com>
Tue, 4 Jul 2017 08:44:19 +0000 (09:44 +0100)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 7 Jul 2017 06:11:44 +0000 (23:11 -0700)
commitc82ff239ecf27dd5eddc91540f50321547a2d311
treebfa41c8a8bda4354d158e31bafa4bb30e228a350
parent9d62bc0e6d79b11e3298e831358155930fb8f5e3
target: make device_mutex and device_list static

Variables device_mutex and device_list static are local to the source,
so make them static.

Cleans up sparse warnings:
"symbol 'device_list' was not declared. Should it be static?"
"symbol 'device_mutex' was not declared. Should it be static?"

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_device.c