summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/whci
diff options
context:
space:
mode:
authorGeyslan G. Bem <geyslan@gmail.com>2015-12-02 18:45:47 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-04 08:25:58 -0800
commit2d80b52efe30b823b9b52521811fbfdd23b05648 (patch)
tree281fd089b8b5a88368435064927c8917276a853b /drivers/usb/host/whci
parent6b82b1223e3b14afd89d167795671a9f4f77b2f0 (diff)
downloadop-kernel-dev-2d80b52efe30b823b9b52521811fbfdd23b05648.zip
op-kernel-dev-2d80b52efe30b823b9b52521811fbfdd23b05648.tar.gz
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')
-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 3297473..5e48a60 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);
OpenPOWER on IntegriCloud