]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: smc911x: Clean up the status handling in smc911x_recv()
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 15 Mar 2020 16:02:05 +0000 (17:02 +0100)
committermarex <marex@desktop.lan>
Fri, 1 May 2020 10:35:21 +0000 (12:35 +0200)
commitb11c8bbfafa998e90fe93ab4e9b08c1a4959bd65
tree36f448af0c4bd231e450eca269af6fee378bc2b6
parent3dbab926031fe77d794670c05d6c7badcfa77291
net: smc911x: Clean up the status handling in smc911x_recv()

Invert the status handling logic in smc911x_recv(), to make the
function easier to read, no functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/net/smc911x.c