ethernet: samsung: sxgbe: remove unnecessary check
authorVarka Bhadram <varkabhadram@gmail.com>
Fri, 24 Oct 2014 02:12:10 +0000 (07:42 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Oct 2014 23:16:02 +0000 (19:16 -0400)
commitaaa14fe396019adab3877678dd2e3b5a53088be1
tree9052f53614c2a326813a701202b071daea330e18
parentc960804f536fe810fa7c8c5eb0dffa8c9aa21390
ethernet: samsung: sxgbe: remove unnecessary check

devm_ioremap_resource checks platform_get_resource() return value.
We can remove the duplicate check here.

Signed-off-by: Varka Bhadram <varkab@cdac.in>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c