git: fa5af3219fab - main - xdma: Fix another -Wunused-but-set-variable warning previously missed
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 10 Dec 2021 05:09:54 UTC
The branch main has been updated by jrtc27:
URL: https://cgit.FreeBSD.org/src/commit/?id=fa5af3219fab0b1640dba02b8201a536171a4ba4
commit fa5af3219fab0b1640dba02b8201a536171a4ba4
Author: Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2021-12-10 05:06:54 +0000
Commit: Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2021-12-10 05:06:54 +0000
xdma: Fix another -Wunused-but-set-variable warning previously missed
MFC after: 1 week
---
sys/dev/xdma/xdma_bio.c | 3 ---
1 file changed, 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)