OSDN Git Service

usb: musb: core: remove unnecessary logical comparison
authorFelipe Balbi <balbi@ti.com>
Wed, 25 Feb 2015 20:03:23 +0000 (14:03 -0600)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Mar 2015 20:33:24 +0000 (15:33 -0500)
commit896f7ea37f53666a72080d0958213d12ae59deaa
tree83b3b3392ca34d6b90b9c0a20a91c5d3a42a166f
parentab7580c1479f9cc9d6a70a5184687a4d807fc612
usb: musb: core: remove unnecessary logical comparison

devctl & MUSB_DEVCTL_HM represents a single bit,
just check for the bit, there's really no need
to compare the result against 0.

Tested-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.c