usb: don't use 'Yoda conditions'
commitd0657b2aab6f2a342aae2897e41d10061a9a6992
authorGonglei <arei.gonglei@huawei.com>
Mon, 11 Aug 2014 13:00:52 +0000 (11 21:00 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 15 Aug 2014 14:54:06 +0000 (15 18:54 +0400)
tree089fa37202d2689061295f0228db7ec1ad17737d
parent2bb0020cf97c938f8339c76fa8a0da6353e8d27e
usb: 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>
hw/usb/dev-audio.c
hw/usb/dev-mtp.c
hw/usb/hcd-ehci.c