X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fpolicer%2Fxlate.c;h=af8bc5a99000a49df948138473398e97175ec883;hb=d91c1dbdb31f80db7d967f2f57c43d0a81d65297;hp=b1c055ed27ca061711d90fa9c849a32ae21244b4;hpb=8c55b37a2220cc9dc2f16470b77059841d37aa46;p=vpp.git diff --git a/src/vnet/policer/xlate.c b/src/vnet/policer/xlate.c index b1c055ed27c..af8bc5a9900 100644 --- a/src/vnet/policer/xlate.c +++ b/src/vnet/policer/xlate.c @@ -1172,7 +1172,6 @@ sse2_pol_logical_2_physical (sse2_qos_pol_cfg_params_st * cfg, policer_read_response_type_st * phys) { int rc; - sse2_qos_pol_hw_params_st pol_hw; sse2_qos_pol_cfg_params_st kbps_cfg; memset (phys, 0, sizeof (policer_read_response_type_st)); @@ -1270,9 +1269,6 @@ sse2_pol_logical_2_physical (sse2_qos_pol_cfg_params_st * cfg, phys->extended_bucket = cfg->extended_bucket; } - // Touch to avoid compiler warning for X86 - pol_hw.allow_negative = pol_hw.allow_negative; - #endif // if !defined (INTERNAL_SS) && !defined (X86) return 0;