Skip to content

Commit 0f7b063

Browse files
Dr. David Alan Gilbertmartinkpetersen
authored andcommitted
scsi: target: Remove unused list 'device_list'
Commit be50f53 ("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: Dr. David Alan Gilbert <linux@treblig.org> Link: https://lore.kernel.org/r/20240503234419.171823-1-linux@treblig.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 0d90aee commit 0f7b063

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/target/target_core_device.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
#include "target_core_ua.h"
3838

3939
static DEFINE_MUTEX(device_mutex);
40-
static LIST_HEAD(device_list);
4140
static DEFINE_IDR(devices_idr);
4241

4342
static struct se_hba *lun0_hba;

0 commit comments

Comments
 (0)