xdma: Fix another -Wunused-but-set-variable warning previously missed

MFC after:	1 week

(cherry picked from commit fa5af3219f)
This commit is contained in:
Jessica Clarke 2021-12-10 05:06:54 +00:00
parent 297c86f8bc
commit 3ca6bdef85

View file

@ -77,9 +77,6 @@ xdma_enqueue_bio(xdma_channel_t *xchan, struct bio **bp,
enum xdma_direction dir)
{
struct xdma_request *xr;
xdma_controller_t *xdma;
xdma = xchan->xdma;
xr = xchan_bank_get(xchan);
if (xr == NULL)