Skip to content

Commit a74735e

Browse files
committed
dmaengine: sdxi: dma: Remove query re empty submitted list
This captured a thought but it's probably not worth pursuing or the potential distraction during upstream review. Signed-off-by: Nathan Lynch <nathan.lynch@amd.com>
1 parent 6cea8c0 commit a74735e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

drivers/dma/sdxi/dma.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,7 @@ static void sdxi_dma_issue_pending(struct dma_chan *dma_chan)
241241

242242
scoped_guard(spinlock_irqsave, &vchan->lock) {
243243
/*
244-
* This can happen with racing submitters. We could
245-
* speculatively check this without taking the lock?
244+
* This can happen with racing submitters.
246245
*/
247246
if (list_empty(&vchan->desc_submitted))
248247
return;

0 commit comments

Comments
 (0)