Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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@linutronix.de>
Link: https://patch.msgid.link/20260120-coco-tsm_rwsem-v1-1-125059fe2f69@linutronix.de
Signed-off-by: Dan Williams <dan.j.williams@intel.com>

authored by

Thomas Weißschuh and committed by
Dan Williams
894148a2 0b50f116

-2
-2
drivers/virt/coco/tsm-core.c
··· 4 4 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 5 5 6 6 #include <linux/tsm.h> 7 - #include <linux/rwsem.h> 8 7 #include <linux/device.h> 9 8 #include <linux/module.h> 10 9 #include <linux/cleanup.h> 11 10 #include <linux/pci-tsm.h> 12 11 13 12 static struct class *tsm_class; 14 - static DECLARE_RWSEM(tsm_rwsem); 15 13 static DEFINE_IDA(tsm_ida); 16 14 17 15 static int match_id(struct device *dev, const void *data)