mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 17:27:01 +00:00
Merge pull request #96 from sonoble/bmap_64_fix
Removes AIM_BITMAP_INIT(bmap, 64) from the 7512, 7716 and 6812 sfpi.c files
This commit is contained in:
@@ -82,7 +82,6 @@ onlp_sfpi_bitmap_get(onlp_sfp_bitmap_t* bmap)
|
||||
* Ports {0, 32}
|
||||
*/
|
||||
int p;
|
||||
AIM_BITMAP_INIT(bmap, 64);
|
||||
AIM_BITMAP_CLR_ALL(bmap);
|
||||
|
||||
for(p = 0; p < 32; p++) {
|
||||
|
||||
@@ -82,7 +82,6 @@ onlp_sfpi_bitmap_get(onlp_sfp_bitmap_t* bmap)
|
||||
* Ports {0, 32}
|
||||
*/
|
||||
int p;
|
||||
AIM_BITMAP_INIT(bmap, 64);
|
||||
AIM_BITMAP_CLR_ALL(bmap);
|
||||
|
||||
for(p = 0; p < 32; p++) {
|
||||
|
||||
@@ -92,7 +92,6 @@ onlp_sfpi_bitmap_get(onlp_sfp_bitmap_t* bmap)
|
||||
* Ports {0, 32}
|
||||
*/
|
||||
int p;
|
||||
AIM_BITMAP_INIT(bmap, 64);
|
||||
AIM_BITMAP_CLR_ALL(bmap);
|
||||
|
||||
for(p = 0; p < NUM_OF_SFP_PORT; p++) {
|
||||
|
||||
Reference in New Issue
Block a user