Commit 0f7b063f authored by Dr. David Alan Gilbert's avatar Dr. David Alan Gilbert Committed by Martin K. Petersen

scsi: target: Remove unused list 'device_list'

Commit be50f538 ("target: remove g_device_list") made 'g_device_list'
local as 'device_list' but also removed the last use of it, the code that
added the device to it.

Build tested only.
Signed-off-by: default avatarDr. David Alan Gilbert <linux@treblig.org>
Link: https://lore.kernel.org/r/20240503234419.171823-1-linux@treblig.orgSigned-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 0d90aee6
......@@ -37,7 +37,6 @@
#include "target_core_ua.h"
static DEFINE_MUTEX(device_mutex);
static LIST_HEAD(device_list);
static DEFINE_IDR(devices_idr);
static struct se_hba *lun0_hba;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment