arm:i2c: Don't mask return from i2c_recv()
commit05f9f17e2caf249e9454f43e0c3751b2d06e1c06
authorCorey Minyard <cminyard@mvista.com>
Tue, 20 Nov 2018 17:10:58 +0000 (20 11:10 -0600)
committerCorey Minyard <cminyard@mvista.com>
Thu, 28 Feb 2019 03:06:08 +0000 (27 21:06 -0600)
tree11439e59d8cd3008a772f21227b343c02c7a9458
parent2ac4c5f4d2415116d3f417a32311d437791dcfce
arm:i2c: Don't mask return from i2c_recv()

It can't fail, and now that it returns a uint8_t a 0xff mask
is unnecessary.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/stellaris.c