Skip to content

Commit

Permalink
scsi: target: Remove unused list 'device_list'
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dr. David Alan Gilbert authored and martinkpetersen committed May 7, 2024
1 parent 0d90aee commit 0f7b063
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/target/target_core_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0f7b063

Please sign in to comment.