net/sfc: fix multicast address list copy memory leak
[dpdk.git] / drivers / net / sfc / base / siena_phy.c
index b90ccab..b1bd69f 100644 (file)
@@ -273,7 +273,9 @@ siena_phy_reconfigure(
                            MAX(MC_CMD_SET_LINK_IN_LEN,
                                MC_CMD_SET_LINK_OUT_LEN))];
        uint32_t cap_mask;
+#if EFSYS_OPT_PHY_LED_CONTROL
        unsigned int led_mode;
+#endif
        unsigned int speed;
        efx_rc_t rc;