All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] target: Remove unused list 'device_list'
@ 2024-05-03 23:44 linux
  2024-05-07  1:41 ` Martin K. Petersen
  2024-05-11 18:39 ` Martin K. Petersen
  0 siblings, 2 replies; 3+ messages in thread
From: linux @ 2024-05-03 23:44 UTC (permalink / raw)
  To: martin.petersen, michael.christie
  Cc: linux-scsi, target-devel, linux-kernel, Dr. David Alan Gilbert

From: "Dr. David Alan Gilbert" <linux@treblig.org>

Commit be50f538e9a5 ("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>
---
 drivers/target/target_core_device.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/target/target_core_device.c b/drivers/target/target_core_device.c
index 7a85e6477e465..bf4892544cfdb 100644
--- a/drivers/target/target_core_device.c
+++ b/drivers/target/target_core_device.c
@@ -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;
-- 
2.44.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] target: Remove unused list 'device_list'
  2024-05-03 23:44 [PATCH] target: Remove unused list 'device_list' linux
@ 2024-05-07  1:41 ` Martin K. Petersen
  2024-05-11 18:39 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2024-05-07  1:41 UTC (permalink / raw)
  To: linux
  Cc: martin.petersen, michael.christie, linux-scsi, target-devel,
	linux-kernel


> Commit be50f538e9a5 ("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.

Applied to 6.10/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] target: Remove unused list 'device_list'
  2024-05-03 23:44 [PATCH] target: Remove unused list 'device_list' linux
  2024-05-07  1:41 ` Martin K. Petersen
@ 2024-05-11 18:39 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2024-05-11 18:39 UTC (permalink / raw)
  To: michael.christie, linux
  Cc: Martin K . Petersen, linux-scsi, target-devel, linux-kernel

On Sat, 04 May 2024 00:44:19 +0100, linux@treblig.org wrote:

> Commit be50f538e9a5 ("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.
> 
> [...]

Applied to 6.10/scsi-queue, thanks!

[1/1] target: Remove unused list 'device_list'
      https://git.kernel.org/mkp/scsi/c/0f7b063faf8b

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-11 18:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-03 23:44 [PATCH] target: Remove unused list 'device_list' linux
2024-05-07  1:41 ` Martin K. Petersen
2024-05-11 18:39 ` Martin K. Petersen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.