Re: [PATCH] net: fec: no need to test for the return type of of_property_read_u32

From: David Miller
Date: Tue Nov 24 2015 - 16:10:10 EST


From: Saurabh Sengar <saurabh.truth@xxxxxxxxx>
Date: Mon, 23 Nov 2015 19:21:48 +0530

> 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@xxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/