Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp142130lqh; Fri, 3 May 2024 16:44:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW+scT5GiA2jGKgkUqtDnjr6wHTNu72dU9sAVxldGvBtjYAWlFltJgULQa1dIS2LYpUkiRhwR8eAUqfxx00Pz/2fk+k1AZibjZM5/c87Q== X-Google-Smtp-Source: AGHT+IH3Cxl73J/GCq2s2Z/3XAyLHN+5+Clubm1VWgxb775n8sAZFZZe3L2XHw0quIU0Jpg3aiI/ X-Received: by 2002:a2e:b04a:0:b0:2df:b2d5:5935 with SMTP id d10-20020a2eb04a000000b002dfb2d55935mr3739482ljl.28.1714779878681; Fri, 03 May 2024 16:44:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714779878; cv=pass; d=google.com; s=arc-20160816; b=UuH6dGA19zotc5K1mOfuqFTE6Rp10+4vm5V/SD+7IiQ820vkYq0Bg02yVO/JipfP4y E7FKqSWSSDIducI2wIDhzZ5Hv9uZGf5V0vvNB66/z/jwga9Eqym3Uy6scBXTrGe4tSuq iGO/yV6MMBeGwr2GOPoTufUm7OMCKhB/VXRYRFLNsq8OAes0tFNhObymiyPnknZpsSJw uDSXJZ3A8OYnuCnE4LQ2z0BN8UdTo3SrwctGcx2He03kh9N9+paet0oUftHRe9JE2cbC hlJkSdO+qp7iZ5WRkqI5SEv4qASDU3ekhyde4kGn47+QL9h9iYNDo6qK6j4bGJilxMOX xyoA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=p5MqCzRCn0HtdyuwMCkaHIuoEH8d+Lh/dc16q0rM13M=; fh=0F0mLvGtf2llRD7gdey8Jo4hqv1Te7KH9rxl0GcIckk=; b=EV5NmMuY24nZPc1MO5DsbTobBUtvwLGCDzDWuWnYyKsEAEwyyyTCFRGSRIw8fJ+R+l juRjvmMTcypRCXlUZ5kFHVvgjVDJyizbHd/4BycOPA7JKAp11Rm0AsNrzyuIDlF2Mrd9 uTO4k4abTWGs457ZmzYxfIUi5Wy4ig7wtf4kdVPmWK4h+0gpOxt3Ns6zeqCfAMMmn1vk 057sTcci+ttTMhzc0ec2IVX76injevVUswV1yzcZtxpLTxrSvO3gsa465LNwe+p87hsF xHYSs92aSOlmSUUYh8XOLk4r8CMtK0PjmDtLDTgZqZLYwlsHXPcRBDQG05XyYSN4RSlu T3HA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=MDk0wUrs; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-168424-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168424-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id w25-20020a170906481900b00a59a4009a83si215755ejq.566.2024.05.03.16.44.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 16:44:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168424-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=MDk0wUrs; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-168424-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168424-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 64EC31F2204A for ; Fri, 3 May 2024 23:44:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 481C284E16; Fri, 3 May 2024 23:44:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="MDk0wUrs" Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 14B1B50297; Fri, 3 May 2024 23:44:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714779867; cv=none; b=i8d0OwJT7DVbqRYfji2QFQNKRlbZOK0FRB+NyVht/tubsURCyI4Rc/9XKn0uBt5zKgexpBu3AAJHpA+PBgUPw2Z5kaVWQQhsssXZiM8Hn62m1SWLwsyPmowWRB1l6PX9DcV0Sli6yi/Ry1ivn1KOJaakJa7IZoke49UQ+Zmjo90= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714779867; c=relaxed/simple; bh=NnH6zpgiTkRp8PJYZU2PtE0agswv9Uy9KLeTWwaiB4c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Nig1PANtdt1UfPa2q20ok88VH3lZawlPZmKXSv1UCABQsTVkPtRgCN7DL6DLND+qaKLkdCzqFoxshu8LhZ47fonQOwT60QmyUvRpvhkDbvPYtDebs2mj4B1lBKwUHAyUoHa39YZVcGDB5NILBIVMif0jJHzuIgpAIxhv76+UhpA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=MDk0wUrs; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=p5MqCzRCn0HtdyuwMCkaHIuoEH8d+Lh/dc16q0rM13M=; b=MDk0wUrs+OyFAvCQ rGeNFdtr2h54Se6f17Wd+8Lzkv5ZdVIOtkyLUdXQfz8nmG2XLJ2T7NMMbx94XQQmjXALc6MwaBhZq tKnBLjZsJfu5gbt3FOeqoDA8XInvNRbUsQZPEzYoQBocCJXkieT4cOT2CowNZ/xuM4QM5qAC2mU4R 3kWmpEE5I4F47Sn9H9wf7DCWtOTEu8JqkVcp4ic6uehJcmbkDfOXc19va87eE/6JIDYGqxsCw0EeK GYhOkJLNUHE1WyKz1EjanXf7DRrFdM93EwRj/8n5UtKlc5yr0PbpMESULf3KqztV7rBULVcV0TZjB kDyVuZBnGGeQ/U+ajw==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1s32Zi-004eB9-0A; Fri, 03 May 2024 23:44:22 +0000 From: linux@treblig.org To: martin.petersen@oracle.com, michael.christie@oracle.com Cc: linux-scsi@vger.kernel.org, target-devel@vger.kernel.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH] target: Remove unused list 'device_list' Date: Sat, 4 May 2024 00:44:19 +0100 Message-ID: <20240503234419.171823-1-linux@treblig.org> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Dr. David Alan Gilbert" 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 --- 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