git: 3ca6bdef85f3 - stable/13 - xdma: Fix another -Wunused-but-set-variable warning previously missed
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Jan 2022 01:40:10 UTC
The branch stable/13 has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=3ca6bdef85f3d2370bdecf708ed88e0d773e2240 commit 3ca6bdef85f3d2370bdecf708ed88e0d773e2240 Author: Jessica Clarke <jrtc27@FreeBSD.org> AuthorDate: 2021-12-10 05:06:54 +0000 Commit: Jessica Clarke <jrtc27@FreeBSD.org> CommitDate: 2022-01-24 23:59:38 +0000 xdma: Fix another -Wunused-but-set-variable warning previously missed MFC after: 1 week (cherry picked from commit fa5af3219fab0b1640dba02b8201a536171a4ba4) --- 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)