Skip to content
Commit 73b1c90d authored by Saurabh Sengar's avatar Saurabh Sengar Committed by David S. Miller
Browse files

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: default avatarSaurabh Sengar <saurabh.truth@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 724fe695
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