diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2012-09-04 13:36:41 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-09-26 09:45:09 -0400 |
commit | c3e6d407c0c09fb46a391bdd0a28827472825de7 (patch) | |
tree | e81b40186f8224dd0e8f62f77c29d445d91e5873 /arch/s390/include | |
parent | 50ab9a9a60fc83b8e8db36b54f365226e2b139ac (diff) |
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')
-rw-r--r-- | arch/s390/include/asm/eadm.h | 2 |
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 @@ | |||
3 | 3 | ||
4 | #include <linux/types.h> | 4 | #include <linux/types.h> |
5 | #include <linux/device.h> | 5 | #include <linux/device.h> |
6 | #include <linux/spinlock.h> | ||
7 | 6 | ||
8 | struct arqb { | 7 | struct arqb { |
9 | u64 data; | 8 | u64 data; |
@@ -83,7 +82,6 @@ struct scm_device { | |||
83 | u64 size; | 82 | u64 size; |
84 | unsigned int nr_max_block; | 83 | unsigned int nr_max_block; |
85 | struct device dev; | 84 | struct device dev; |
86 | spinlock_t lock; | ||
87 | struct { | 85 | struct { |
88 | unsigned int persistence:4; | 86 | unsigned int persistence:4; |
89 | unsigned int oper_state:4; | 87 | unsigned int oper_state:4; |