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

MFC after:	1 week
This commit is contained in:
Jessica Clarke 2021-12-10 05:06:54 +00:00
parent 434cb1c4a6
commit fa5af3219f

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)