dma-debug: simplify counting of preallocated requests
authorChristoph Hellwig <hch@lst.de>
Tue, 24 Apr 2018 07:40:51 +0000 (09:40 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 8 May 2018 11:03:05 +0000 (13:03 +0200)
commitbcebe324cb44f0298f6bb5fcb5eb92a3ec55feeb
tree7633bdda6688354c06bda803f08c743fd1efa84d
parent15b28bbcd567a9199481ecfef39702b258f9baff
dma-debug: simplify counting of preallocated requests

Just keep a single variable with a descriptive name instead of two
with confusing names.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
lib/dma-debug.c