vmxnet3: don't use 'Yoda conditions'
commitf7472ca4053d43c32d675517c9159017ece5d7a9
authorGonglei <arei.gonglei@huawei.com>
Mon, 11 Aug 2014 13:00:58 +0000 (11 21:00 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 15 Aug 2014 14:54:07 +0000 (15 18:54 +0400)
tree04a6c2502cf05b54f309298c0e716a459e694739
parent28de2f883c165ed237b49e940b10cc97292c5053
vmxnet3: don't use 'Yoda conditions'

imitate nearby code about using '!value' or 'value == NULL'

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/net/vmxnet3.c