Message ID | 20200807083548.204360-19-dwlsalmeida@gmail.com |
---|---|
State | New |
Headers | show |
Series | [01/20] media: sunxi: sun8i-rotate.c: remove useless error message | expand |
diff --git a/drivers/media/platform/ti-vpe/vpdma.c b/drivers/media/platform/ti-vpe/vpdma.c index 2e5148ae7a0f..de600ffffbbc 100644 --- a/drivers/media/platform/ti-vpe/vpdma.c +++ b/drivers/media/platform/ti-vpe/vpdma.c @@ -943,7 +943,7 @@ int vpdma_hwlist_alloc(struct vpdma_data *vpdma, void *priv) spin_lock_irqsave(&vpdma->lock, flags); for (i = 0; i < VPDMA_MAX_NUM_LIST && - vpdma->hwlist_used[i] == true; i++) + vpdma->hwlist_used[i]; i++) ; if (i < VPDMA_MAX_NUM_LIST) {