Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c82ff239 authored by Colin Ian King's avatar Colin Ian King Committed by Nicholas Bellinger
Browse files

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: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent 9d62bc0e
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -49,8 +49,8 @@
#include "target_core_pr.h"
#include "target_core_pr.h"
#include "target_core_ua.h"
#include "target_core_ua.h"


DEFINE_MUTEX(device_mutex);
static DEFINE_MUTEX(device_mutex);
LIST_HEAD(device_list);
static LIST_HEAD(device_list);
static DEFINE_IDR(devices_idr);
static DEFINE_IDR(devices_idr);


static struct se_hba *lun0_hba;
static struct se_hba *lun0_hba;