git: 2d9ae66d0222 - main - splash_pcx: Remove unused variables.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 08 Apr 2022 00:03:54 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=2d9ae66d02228312ba0621fedf4948afac3b0629

commit 2d9ae66d02228312ba0621fedf4948afac3b0629
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-08 00:01:29 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-04-08 00:01:29 +0000

    splash_pcx: Remove unused variables.
---
 sys/dev/fb/splash_pcx.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sys/dev/fb/splash_pcx.c b/sys/dev/fb/splash_pcx.c
index 8d82bca31ac9..6f1fe9a24086 100644
--- a/sys/dev/fb/splash_pcx.c
+++ b/sys/dev/fb/splash_pcx.c
@@ -202,7 +202,7 @@ static int
 pcx_draw(video_adapter_t *adp)
 {
 	uint8_t *vidmem;
-	int swidth, sheight, sbpsl, sdepth, splanes;
+	int swidth, sheight, sbpsl;
 	int banksize, origin;
 	int c, i, j, pos, scan, x, y;
 	uint8_t line[MAXSCANLINE];
@@ -216,8 +216,6 @@ pcx_draw(video_adapter_t *adp)
 	swidth = adp->va_info.vi_width;
 	sheight = adp->va_info.vi_height;
 	sbpsl = adp->va_line_width;
-	sdepth = adp->va_info.vi_depth;
-	splanes = adp->va_info.vi_planes;
 	banksize = adp->va_window_size;
 
 	for (origin = 0; origin < sheight*sbpsl; origin += banksize) {