diff options
author | Corey Minyard <cminyard@mvista.com> | 2018-11-20 11:13:42 -0600 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2019-02-27 21:06:08 -0600 |
commit | bc15cde0c4acc9128f26ff78f99ce34a59200d5e (patch) | |
tree | 7faa1aea444e191365aacec055a9dec8bde235b6 /pc-bios/vgabios-bochs-display.bin | |
parent | 05f9f17e2caf249e9454f43e0c3751b2d06e1c06 (diff) | |
download | qemu-bc15cde0c4acc9128f26ff78f99ce34a59200d5e.zip |
i2c: Don't check return value from i2c_recv()
i2c_recv() cannot fail, so there is no need to check the return
value. It also returns unt8_t, so comparing with < 0 is not
meaningful.
Fix up various I2C controllers to remove the unneeded code.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'pc-bios/vgabios-bochs-display.bin')
0 files changed, 0 insertions, 0 deletions