summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/eadm.h
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2012-09-04 21:36:41 +0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-09-26 17:45:09 +0400
commitc3e6d407c0c09fb46a391bdd0a28827472825de7 (patch)
treee81b40186f8224dd0e8f62f77c29d445d91e5873 /arch/s390/include/asm/eadm.h
parent50ab9a9a60fc83b8e8db36b54f365226e2b139ac (diff)
downloadlinux-c3e6d407c0c09fb46a391bdd0a28827472825de7.tar.xz
s390/scm: remove superfluous lock
Remove the spinlock from struct scm_device. drvdata and attributes are guarded via device_lock. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/eadm.h')
-rw-r--r--arch/s390/include/asm/eadm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/s390/include/asm/eadm.h b/arch/s390/include/asm/eadm.h
index 4d6e103f6e26..8d4847191ecc 100644
--- a/arch/s390/include/asm/eadm.h
+++ b/arch/s390/include/asm/eadm.h
@@ -3,7 +3,6 @@
#include <linux/types.h>
#include <linux/device.h>
-#include <linux/spinlock.h>
struct arqb {
u64 data;
@@ -83,7 +82,6 @@ struct scm_device {
u64 size;
unsigned int nr_max_block;
struct device dev;
- spinlock_t lock;
struct {
unsigned int persistence:4;
unsigned int oper_state:4;