generic: ar8216: remove an unblanced mutex_unlock call
[openwrt/svn-archive/archive.git] / target / linux / generic / files / drivers / net / phy / ar8216.c
index 38012256003b8a950e8ef84b36e06ccf8623360a..8fc1f4b37e62b212294665e7f6c40e9bffbae3ec 100644 (file)
@@ -1549,7 +1549,6 @@ ar8216_sw_get_port_mib(struct switch_dev *dev,
                goto unlock;
 
        ar8216_mib_fetch_port_stat(priv, port, false);
-       mutex_unlock(&priv->mib_lock);
 
        len += snprintf(buf + len, sizeof(priv->buf) - len,
                        "Port %d MIB counters\n",