diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2007-04-17 07:01:38 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-04-27 13:57:31 -0400 |
commit | 2f66858a0ae48faf4c8dc19042f3aff52208dc57 (patch) | |
tree | 56dfa6a8b83786cc40419f58431faa3439422f06 /drivers/s390/net | |
parent | 87aebe078e450795d336d20304d01095251ff9fa (diff) |
qeth: Remove usage of subsys.rwsem
the current driver tree contains the removal of subsys.rwsem.
Unfortunately, this breaks qeth. However, it should be no problem to
fix the walking of the devices for /proc/qeth:
No need to take subsys.rwsem during walking the devices,
driver_find_devices() should already suffice.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/s390/net')
-rw-r--r-- | drivers/s390/net/qeth_proc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/s390/net/qeth_proc.c b/drivers/s390/net/qeth_proc.c index 81f805cc5ee7..89d56c8ecdd2 100644 --- a/drivers/s390/net/qeth_proc.c +++ b/drivers/s390/net/qeth_proc.c | |||
@@ -37,7 +37,6 @@ qeth_procfile_seq_start(struct seq_file *s, loff_t *offset) | |||
37 | struct device *dev = NULL; | 37 | struct device *dev = NULL; |
38 | loff_t nr = 0; | 38 | loff_t nr = 0; |
39 | 39 | ||
40 | down_read(&qeth_ccwgroup_driver.driver.bus->subsys.rwsem); | ||
41 | if (*offset == 0) | 40 | if (*offset == 0) |
42 | return SEQ_START_TOKEN; | 41 | return SEQ_START_TOKEN; |
43 | while (1) { | 42 | while (1) { |
@@ -53,7 +52,6 @@ qeth_procfile_seq_start(struct seq_file *s, loff_t *offset) | |||
53 | static void | 52 | static void |
54 | qeth_procfile_seq_stop(struct seq_file *s, void* it) | 53 | qeth_procfile_seq_stop(struct seq_file *s, void* it) |
55 | { | 54 | { |
56 | up_read(&qeth_ccwgroup_driver.driver.bus->subsys.rwsem); | ||
57 | } | 55 | } |
58 | 56 | ||
59 | static void * | 57 | static void * |