[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20260120-coco-tsm_rwsem-v1-1-125059fe2f69@linutronix.de>
Date: Tue, 20 Jan 2026 13:07:11 +0100
From: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
To: Dan Williams <dan.j.williams@...el.com>,
Jonathan Cameron <jonathan.cameron@...wei.com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
"Aneesh Kumar K.V (Arm)" <aneesh.kumar@...nel.org>,
Alexey Kardashevskiy <aik@....com>
Cc: linux-kernel@...r.kernel.org,
Thomas Weißschuh <thomas.weissschuh@...utronix.de>
Subject: [PATCH] coco/tsm: Remove unused variable tsm_rwsem
This variable is and was never used, remove it.
Fixes: 603c646f0010 ("coco/tsm: Introduce a core device for TEE Security Managers")
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
---
drivers/virt/coco/tsm-core.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/virt/coco/tsm-core.c b/drivers/virt/coco/tsm-core.c
index f027876a2f19..d02764a171c9 100644
--- a/drivers/virt/coco/tsm-core.c
+++ b/drivers/virt/coco/tsm-core.c
@@ -5,7 +5,6 @@
#include <linux/tsm.h>
#include <linux/pci.h>
-#include <linux/rwsem.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/cleanup.h>
@@ -13,7 +12,6 @@
#include <linux/pci-ide.h>
static struct class *tsm_class;
-static DECLARE_RWSEM(tsm_rwsem);
static DEFINE_IDA(tsm_ida);
static int match_id(struct device *dev, const void *data)
---
base-commit: 24d479d26b25bce5faea3ddd9fa8f3a6c3129ea7
change-id: 20260120-coco-tsm_rwsem-8f1fde13ca6e
Best regards,
--
Thomas Weißschuh <thomas.weissschuh@...utronix.de>
Powered by blists - more mailing lists