net: fec: no need to test for the return type of of_property_read_u32
authorSaurabh Sengar <saurabh.truth@gmail.com>
Mon, 23 Nov 2015 13:51:48 +0000 (19:21 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Nov 2015 21:09:47 +0000 (16:09 -0500)
commit73b1c90d3650a81ff9997f6d1ddfda6efb9fac09
treece753a8344105218d3333cf41b49a5308c93b29f
parent724fe6955c88db8b249681cd78a76c10163bb0ba
net: fec: no need to test for the return type of of_property_read_u32

in case of error no need to set num_tx and num_rx = 1, because in case of error
these variables will remain unchanged by of_property_read_u32 ie 1 only

Signed-off-by: Saurabh Sengar <saurabh.truth@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c