Skip to content
Commit 778c4d5c authored by YueHaibing's avatar YueHaibing Committed by David S. Miller
Browse files

fib_rules: NULL check before kfree is not needed



kfree(NULL) is safe,so this removes NULL check before freeing the mem

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 86ff7362
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment