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

This commit is contained in:
Lewis Kang
2017-09-27 09:54:08 +08:00
committed by GitHub
parent 26dbd5c8c4
commit d6c234f505

View File

@@ -55,8 +55,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);