diff options
Diffstat (limited to 'net/ipv4/ipmr.c')
-rw-r--r-- | net/ipv4/ipmr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c index a170e4bc9006..c204b728bbc1 100644 --- a/net/ipv4/ipmr.c +++ b/net/ipv4/ipmr.c | |||
@@ -316,7 +316,7 @@ static struct mr_table *ipmr_new_table(struct net *net, u32 id) | |||
316 | unsigned int i; | 316 | unsigned int i; |
317 | 317 | ||
318 | mrt = ipmr_get_table(net, id); | 318 | mrt = ipmr_get_table(net, id); |
319 | if (mrt != NULL) | 319 | if (mrt) |
320 | return mrt; | 320 | return mrt; |
321 | 321 | ||
322 | mrt = kzalloc(sizeof(*mrt), GFP_KERNEL); | 322 | mrt = kzalloc(sizeof(*mrt), GFP_KERNEL); |