net: ipmr: drop ip_mr_init() mrt_cachep null check as we'll panic if it fails
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Sat, 21 Nov 2015 14:57:30 +0000 (15:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Nov 2015 20:06:39 +0000 (15:06 -0500)
commitaf623236a9f3a20aa2f15f03cf9fe7bfd13b8889
tree037aca051d5b26e89db88a59c113d2b892cbca7a
parent29c3f19739421cf749991cb8c693093b4ac58ad1
net: ipmr: drop ip_mr_init() mrt_cachep null check as we'll panic if it fails

It's not necessary to check for null as SLAB_PANIC is used and we'll
panic if the alloc fails, so just drop it.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipmr.c