From nobody Fri Apr 08 00:03:54 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5BBF41A889B3; Fri, 8 Apr 2022 00:03:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KZJPl2Lq7z4l2h; Fri, 8 Apr 2022 00:03:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649376235; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PfNLNRtHXBefgmODRS/liEa5L7Qjx8yXIy+YJ21/CCk=; b=YmMmC4b0uUyvV5F1tYmt1f1b9yeunqVeiD5ZsYIZpydQ8MmDZVlSBuRtVMaPqiy9m6eDnQ MIQ/rECG4mGXh+YF/DMh+2dgerl2DkXVub4Gg2YNElLMHdpijqa+l9F3TZnup3jOEBLbqk 6KjUlaDlWuKBSZA1bA+ACwzi8jYNbODd17BEkA5tuYor/SYvZg5TaGsx9ejuk0TMABp3uY cmIoAj6ftypamADazfj8TgMmVp8Ek+RiCc85D0ol6yIOyv4NFTWKqG+9vFOx9VkFDh8ri6 dnF+UnzWdoPM8/xesefweTA//wM0slJ6o0vlDe++rVc4ivbSWgpe2j1rWTIDow== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A3BAF1A584; Fri, 8 Apr 2022 00:03:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23803s2M086966; Fri, 8 Apr 2022 00:03:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23803sAb086965; Fri, 8 Apr 2022 00:03:54 GMT (envelope-from git) Date: Fri, 8 Apr 2022 00:03:54 GMT Message-Id: <202204080003.23803sAb086965@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 2d9ae66d0222 - main - splash_pcx: Remove unused variables. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2d9ae66d02228312ba0621fedf4948afac3b0629 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649376235; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PfNLNRtHXBefgmODRS/liEa5L7Qjx8yXIy+YJ21/CCk=; b=oGfCRRf/O9CnNasmboxZ+S+z7UV0U2jGppNhgy9wUUHEUmNP4xe0HiCLgi14nxKtRCfKTD XLkXgb0/K9B1RYhpKA+H4qiFbEgWCsskEf1WRSuWnba+LdEwmodvHHT/W486xGLPECqRPG wv6nVSM8HtWXnRKwtUaFDWmoZPOI1sRK9NMF/c/dB1kz2fLFJn//jcWwYZUTMO9eV1MaFV TEiRqDjWD2afYlxG98f7TIfsf2DWdpgvADo4/6V5xmWW2t3jIbCzlrK9sKcAG+JrDWX90t iDU7kOSJzcDF1fXT9mTVldkY+hr0WzTSDbm3jNahTKK+OAuWrRWAkGPXWghvcg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649376235; a=rsa-sha256; cv=none; b=yVfWQ10yqD/EFJZXVsJOiqLTKUQeZ64UhyqG8/Pgmi7LPLWmnpcsQt56xbFL2ypXyM64fB AX0D0dBJqWWHsWR+e5Q9lZ4mv7yybl0QwospFUTmHXtp6Nh6RGG0gViVK/bZ5KdPQML9Dg WJ3p/c8ZBv1ZkqypbBW25cajt70HsFB+rTHOful0QxEnb1OUbWHCUUHyozG8A2HYfmiiiV mtHbh6RXlDbmOKeQ0+hWbWKAZ1xhbB5NX8Y+1bPqY5L7J72sEkIkVQGlkYg25+UkDNdQUG ic4+Pkj/dWJmMbBMFv9rpaZaGKT+sBf9P+FqWqeb3m1yy2/NPMeYb3kM1m32Aw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=2d9ae66d02228312ba0621fedf4948afac3b0629 commit 2d9ae66d02228312ba0621fedf4948afac3b0629 Author: John Baldwin AuthorDate: 2022-04-08 00:01:29 +0000 Commit: John Baldwin 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) {