These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / net / wireless / ti / wl1251 / acx.c
index 5695628..d6fbdda 100644 (file)
@@ -53,10 +53,7 @@ int wl1251_acx_station_id(struct wl1251 *wl)
                mac->mac[i] = wl->mac_addr[ETH_ALEN - 1 - i];
 
        ret = wl1251_cmd_configure(wl, DOT11_STATION_ID, mac, sizeof(*mac));
-       if (ret < 0)
-               goto out;
 
-out:
        kfree(mac);
        return ret;
 }