Skip to content

Commit 894148a

Browse files
t-8chdjbw
authored andcommitted
coco/tsm: Remove unused variable tsm_rwsem
This variable is and was never used, remove it. Fixes: 603c646 ("coco/tsm: Introduce a core device for TEE Security Managers") Signed-off-by: Thomas Weißschuh <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Dan Williams <[email protected]>
1 parent 0b50f11 commit 894148a

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/virt/coco/tsm-core.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@
44
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
55

66
#include <linux/tsm.h>
7-
#include <linux/rwsem.h>
87
#include <linux/device.h>
98
#include <linux/module.h>
109
#include <linux/cleanup.h>
1110
#include <linux/pci-tsm.h>
1211

1312
static struct class *tsm_class;
14-
static DECLARE_RWSEM(tsm_rwsem);
1513
static DEFINE_IDA(tsm_ida);
1614

1715
static int match_id(struct device *dev, const void *data)

0 commit comments

Comments
 (0)