mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 23:51:39 +00:00
staging: greybus: remove comparison to BOOL
Remove two instances of a comparison to BOOL. Reported by coccinelle. Signed-off-by: Ioannis Valasakis <code@wizofe.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
57d053682f
commit
2eece0a88d
@ -316,8 +316,8 @@ static struct urb *next_free_urb(struct es2_ap_dev *es2, gfp_t gfp_mask)
|
||||
|
||||
/* Look in our pool of allocated urbs first, as that's the "fastest" */
|
||||
for (i = 0; i < NUM_CPORT_OUT_URB; ++i) {
|
||||
if (es2->cport_out_urb_busy[i] == false &&
|
||||
es2->cport_out_urb_cancelled[i] == false) {
|
||||
if (!es2->cport_out_urb_busy[i] &&
|
||||
!es2->cport_out_urb_cancelled[i]) {
|
||||
es2->cport_out_urb_busy[i] = true;
|
||||
urb = es2->cport_out_urb[i];
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user