imx_fec: Refactor imx_eth_enable_rx()
commita6383e99ffc3b615d8465aebbd5d48f1fa9b2949
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Thu, 11 Jan 2018 13:25:35 +0000 (11 13:25 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Jan 2018 13:25:35 +0000 (11 13:25 +0000)
tree3a12abe3574d77aa3dd64bfdca88cbf806c5a0fe
parent1fdde6537ecec4a6b416bc232c868b64d645cc62
imx_fec: Refactor imx_eth_enable_rx()

Refactor imx_eth_enable_rx() to have more meaningfull variable name
than 'tmp' and to reduce number of logical negations done.

Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
Cc: qemu-devel@nongnu.org
Cc: qemu-arm@nongnu.org
Cc: yurovsky@gmail.com
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/net/imx_fec.c