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

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

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
qdev-monitor.c
qemu-char.c
util/qemu-sockets.c