diff options
author | Geyslan G. Bem <geyslan@gmail.com> | 2015-12-02 22:45:47 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-04 17:25:58 +0100 |
commit | 2d80b52efe30b823b9b52521811fbfdd23b05648 (patch) | |
tree | 281fd089b8b5a88368435064927c8917276a853b /drivers/usb/host/fhci-tds.c | |
parent | usb: Add connected retry on resume for non SS devices (diff) | |
download | linux-2d80b52efe30b823b9b52521811fbfdd23b05648.tar.xz 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/fhci-tds.c')
-rw-r--r-- | drivers/usb/host/fhci-tds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/fhci-tds.c b/drivers/usb/host/fhci-tds.c index 1498061f0aea..f82ad5df1b0d 100644 --- a/drivers/usb/host/fhci-tds.c +++ b/drivers/usb/host/fhci-tds.c @@ -85,7 +85,7 @@ static struct usb_td __iomem *next_bd(struct usb_td __iomem *base, void fhci_push_dummy_bd(struct endpoint *ep) { - if (ep->already_pushed_dummy_bd == false) { + if (!ep->already_pushed_dummy_bd) { u16 td_status = in_be16(&ep->empty_td->status); out_be32(&ep->empty_td->buf_ptr, DUMMY_BD_BUFFER); |