X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=blobdiff_plain;f=lib%2Flibrte_lpm%2Frte_lpm.c;h=cfdf9598b3afec7ed6de76102cbd5e0f3da8fc3a;hp=39814525d8cd8158331b06cda9bd2c1d72daf319;hb=693f715da45c48ec1ec0fe4ba2f3b5ffd11ba53e;hpb=6e7caa1ad9d597fed0a49468af25ae6e68b8c443 diff --git a/lib/librte_lpm/rte_lpm.c b/lib/librte_lpm/rte_lpm.c index 39814525d8..cfdf9598b3 100644 --- a/lib/librte_lpm/rte_lpm.c +++ b/lib/librte_lpm/rte_lpm.c @@ -113,7 +113,7 @@ depth_to_range(uint8_t depth) return 1 << (MAX_DEPTH_TBL24 - depth); /* Else if depth is greater than 24 */ - return (1 << (RTE_LPM_MAX_DEPTH - depth)); + return 1 << (RTE_LPM_MAX_DEPTH - depth); } /*