ipvs: remove unnecessary space
Subsystems (4)
PATCH 1/1 ipvs: remove unnecessary space
this patch removes the extra space and use bitmap_zalloc instead
Signed-off-by yangxingwu <[email protected]>
--- net/netfilter/ipvs/ip_vs_mh.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
net/netfilter/ipvs/ip_vs_mh.c +1 -2
@@ -174,8 +174,7 @@ static int ip_vs_mh_populate(struct ip_vs_mh_state *s,return 0 ; } - table =kcalloc (BITS_TO_LONGS (IP_VS_MH_TAB_SIZE ), -sizeof (unsigned long ),GFP_KERNEL ); + table =bitmap_zalloc (IP_VS_MH_TAB_SIZE ,GFP_KERNEL );if (!table)return -ENOMEM ;
Signature · 1 line
1.8.3.1