]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: mpc8xxx: Get rid of is_read
authorMario Six <mario.six@gdsys.cc>
Sun, 28 Apr 2019 20:28:44 +0000 (01:58 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 10 Jun 2019 12:29:48 +0000 (17:59 +0530)
commit6409c6103a869271a0a2c109f5262c94a0609add
tree5a3434b8d4a527bc7d9cc2e656fd51117d70db65
parent76c82afef353aa4f36a22bf2d2ed5e53bba931f0
spi: mpc8xxx: Get rid of is_read

Get rid of the is_read variable, and just keep the state of the "not
empty" and "not full" events in two boolean variables within the loop
body.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Acked-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/mpc8xxx_spi.c