Change: cleanup code in ip hash module

for upstream check integration

Signed-off-by: paulyang <y_y@neusoft.com>