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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 0d90aee commit 0f7b063

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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)