aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@FreeBSD.org>2021-12-10 05:06:54 +0000
committerJessica Clarke <jrtc27@FreeBSD.org>2021-12-10 05:06:54 +0000
commitfa5af3219fab0b1640dba02b8201a536171a4ba4 (patch)
treef84fcc32d6e9cafd0e4d50d58fe7c3053e5f9b42
parent434cb1c4a6316d0966b5cd029e6ae40d5b944406 (diff)
xdma: Fix another -Wunused-but-set-variable warning previously missed
MFC after: 1 week
-rw-r--r--sys/dev/xdma/xdma_bio.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/xdma/xdma_bio.c b/sys/dev/xdma/xdma_bio.c
index c994bd5f7629..93645698933c 100644
--- a/sys/dev/xdma/xdma_bio.c
+++ b/sys/dev/xdma/xdma_bio.c
@@ -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)