Update sfpi.c

This commit is contained in:
Lewis Kang
2017-09-27 09:55:42 +08:00
committed by GitHub
parent d6c234f505
commit 02cf33d811

View File

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