net: fec_imx: Don't check bd_status & FEC_RBD_ERR twice
Re-shuffle comparisons in order to avoid having to check for
FEC_RBD_ERR in bd_status more than once.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 7d10ce7 commit fb12695461738359430486f2694180fdad46c37c
@Andrey Smirnov Andrey Smirnov authored on 18 Sep 2018
Sascha Hauer committed on 19 Sep 2018
Showing 1 changed file
View
drivers/net/fec_imx.c