diff options
-rw-r--r-- | drivers/s390/net/qeth_l2_sys.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/s390/net/qeth_l2_sys.c b/drivers/s390/net/qeth_l2_sys.c index 59e3aa538b4d..6504d48bdd97 100644 --- a/drivers/s390/net/qeth_l2_sys.c +++ b/drivers/s390/net/qeth_l2_sys.c | |||
@@ -23,8 +23,6 @@ static ssize_t qeth_bridge_port_role_state_show(struct device *dev, | |||
23 | if (!card) | 23 | if (!card) |
24 | return -EINVAL; | 24 | return -EINVAL; |
25 | 25 | ||
26 | mutex_lock(&card->conf_mutex); | ||
27 | |||
28 | if (qeth_card_hw_is_reachable(card) && | 26 | if (qeth_card_hw_is_reachable(card) && |
29 | card->options.sbp.supported_funcs) | 27 | card->options.sbp.supported_funcs) |
30 | rc = qeth_bridgeport_query_ports(card, | 28 | rc = qeth_bridgeport_query_ports(card, |
@@ -59,8 +57,6 @@ static ssize_t qeth_bridge_port_role_state_show(struct device *dev, | |||
59 | rc = sprintf(buf, "%s\n", word); | 57 | rc = sprintf(buf, "%s\n", word); |
60 | } | 58 | } |
61 | 59 | ||
62 | mutex_unlock(&card->conf_mutex); | ||
63 | |||
64 | return rc; | 60 | return rc; |
65 | } | 61 | } |
66 | 62 | ||
@@ -123,12 +119,8 @@ static ssize_t qeth_bridgeport_hostnotification_show(struct device *dev, | |||
123 | if (!card) | 119 | if (!card) |
124 | return -EINVAL; | 120 | return -EINVAL; |
125 | 121 | ||
126 | mutex_lock(&card->conf_mutex); | ||
127 | |||
128 | enabled = card->options.sbp.hostnotification; | 122 | enabled = card->options.sbp.hostnotification; |
129 | 123 | ||
130 | mutex_unlock(&card->conf_mutex); | ||
131 | |||
132 | return sprintf(buf, "%d\n", enabled); | 124 | return sprintf(buf, "%d\n", enabled); |
133 | } | 125 | } |
134 | 126 | ||