as5912-54x: fix the erroneous code in onlp_sfpi_bitmap_get()

This commit is contained in:
Lewis Kang
2017-09-27 09:50:26 +08:00
committed by GitHub
parent f63d2cd520
commit c426f89259

View File

@@ -67,8 +67,6 @@ onlp_sfpi_bitmap_get(onlp_sfp_bitmap_t* bmap)
* Ports {0, 54}
*/
int p;
AIM_BITMAP_INIT(bmap, 64);
AIM_BITMAP_CLR_ALL(bmap);
for(p = 0; p < NUM_OF_SFP_PORT; p++) {
AIM_BITMAP_SET(bmap, p);