summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/whci/qset.c
diff options
context:
space:
mode:
authorGeyslan G. Bem2015-12-02 22:45:47 +0100
committerGreg Kroah-Hartman2015-12-04 17:25:58 +0100
commit2d80b52efe30b823b9b52521811fbfdd23b05648 (patch)
tree281fd089b8b5a88368435064927c8917276a853b /drivers/usb/host/whci/qset.c
parentusb: Add connected retry on resume for non SS devices (diff)
downloadkernel-qcow2-linux-2d80b52efe30b823b9b52521811fbfdd23b05648.tar.gz
kernel-qcow2-linux-2d80b52efe30b823b9b52521811fbfdd23b05648.tar.xz
kernel-qcow2-linux-2d80b52efe30b823b9b52521811fbfdd23b05648.zip
usb: whci: fhci: remove comparison to bool
Get rid of bool explicit comparisons. Caught by Coccinelle. Signed-off-by: Geyslan G. Bem <geyslan@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/whci/qset.c')
-rw-r--r--drivers/usb/host/whci/qset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/whci/qset.c b/drivers/usb/host/whci/qset.c
index 329747398f9a..5e48a605c71e 100644
--- a/drivers/usb/host/whci/qset.c
+++ b/drivers/usb/host/whci/qset.c
@@ -395,7 +395,7 @@ static void urb_dequeue_work(struct work_struct *work)
struct whc *whc = qset->whc;
unsigned long flags;
- if (wurb->is_async == true)
+ if (wurb->is_async)
asl_update(whc, WUSBCMD_ASYNC_UPDATED
| WUSBCMD_ASYNC_SYNCED_DB
| WUSBCMD_ASYNC_QSET_RM);