Message ID | 20201116174112.1833368-29-lee.jones@linaro.org |
---|---|
State | Accepted |
Commit | dfa6082bb979611ea6e72b32878313f949590d17 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp3507590ils; Mon, 16 Nov 2020 09:43:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJzrRbCCh9EsNnTji2BbG7P0zU6mUuFyQ4vFJZJ+gO9kYc7b5Uq1GGQnS7965OGujQ3e4lRm X-Received: by 2002:a63:5143:: with SMTP id r3mr250708pgl.439.1605548541484; Mon, 16 Nov 2020 09:42:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605548541; cv=none; d=google.com; s=arc-20160816; b=0gtUWMk0PClK+xVwVfXnjgRR/cbjnjTcBAJOm1cvF3irxOR6Zp2hYJEwft1+hzjdu0 hRSAACusvFN8gyd2umuFeS0q7ZIoe4MM01dXDkRB7wVcbPBzVL1EEqgifih7fzaZaRt3 JREnppwjx38HJs6HfeDeO4elki2+YMJQpjdVvLiKveCPWt7BEwCvGAIwu1wCwcl+p8s2 cH2xKUqgKImqjkrAgAEd8xYv8gRuuXk6VgHgXJbQuvcGMaGO/+bXFfCJd0OOtiT4+Xkw Sfk/rH6jvrYaga+OEQOWfHqXyxBfm0Pe3RojkKa3NdaDv4S+g+WTvRpgxDa0k2lLjIdG jN2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=vMhS3JRdn1721VIYpvG54ypPbmTTDbVmPscLn2sAJJc=; b=tbtTtFxJvOD3Sa9ddESMlwacs/mIDVyvUje1bhnvM2drntekecRgRyyamCk0aKNNek T26xdL/KL9yJPXNiQVn4F4ln2b3obAtXQFU912Cy0LVEf9bqEQ/BhgYesNGLo7SB1WvM TbkPpW6gbAFHzMzUspiSSJOLSWvGchiJEvDr0oRtmqfEBcQaoa1nhG1LeUa2ClZwHmSe IJ4vA+YkYNTG3T+X2PNIp+NR+jrSvODEzJpzjqRm59N/Ly841IioZgJutfHq4aHx0eA1 qvlfHZ9aafV8C43DcPcCdbPibmX3qIGbXrlOB8sILtJhvoi3TVrsVtg7wFtLqHnJh+ts QVJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=QlKnEKn0; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <dri-devel-bounces@lists.freedesktop.org> Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id r6si16320194pfr.36.2020.11.16.09.42.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:42:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=QlKnEKn0; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1F7A66EA10; Mon, 16 Nov 2020 17:42:09 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 727B06EA08 for <dri-devel@lists.freedesktop.org>; Mon, 16 Nov 2020 17:42:01 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id j7so19658246wrp.3 for <dri-devel@lists.freedesktop.org>; Mon, 16 Nov 2020 09:42:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CpDMS+RHHV1rRQnMHYAjcZzCg3wY/F0STHOFtNum/rU=; b=QlKnEKn0xfMVNLUegEwHbQJPic1l06CYGWhnCfguIw3hOMik3KVBqH/YP2yC43asib f2UuSmKRJY3ecRRD++REiBaL5pWLlMxhw1cFZQCjed41kvQSU0SGSZtp9IwUC7oTxOY+ IpjXbOfgYmytr6s4LWK+mUcADEQ3vuWFSK+Snb0r0qofwWKJlfopeqr6X/efE/o9nVwJ 4SrgKh1saEWCXQLFmnbhf6Vie+X3ikuQBxtqtUHAqCklAxucNV3+wM8pAVjlhsr+aK/V ReN+ZybmaVikrjvBfRAKqXEBrF+Xi2uq1UDMrge12cB/vdXOFlCOoJIJ4k3963py/kLv o6RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CpDMS+RHHV1rRQnMHYAjcZzCg3wY/F0STHOFtNum/rU=; b=pik1M4DUbadFzDfkTk2Dqmz5CZKwOM4whbIoZHOBlcsJoE2oJitFcboCrDHShQ+jRG jf3dPcVXYVImgC3RKFZS2KfzarR0CzYp7TEJ1C7F3biXRSblY1zbq0/WWiHHmtDwSxeL w2vzs16uN+gnfEONnyMpEBG13Naf92zvzQn30hseZ5Qoldu2XwJgi/puUjIKX/DvbWsU TSMsgkibHuvnk97c4vXaqL49+1AKzHFZ8P1+BgW8SiF9b+mOVmM/ilB7cXvhMr+QXXla M7PWPGhbPQ+KOKzkVz4YHPElHgXDqXTnggd2zW/VDPsNeJWxoXPEMdoRgy2NsQ+3+seD QwNg== X-Gm-Message-State: AOAM531recK9OKJginzwbNagmf51NdKFGzw2Y2rue27ESe53FxhKl34A baFbB3PC62Rq62MjW3VnF+FntgACHKzSRPGO X-Received: by 2002:adf:c803:: with SMTP id d3mr20484445wrh.108.1605548520115; Mon, 16 Nov 2020 09:42:00 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id n10sm24667224wrx.9.2020.11.16.09.41.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:41:59 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Subject: [PATCH 28/42] drm/selftests/test-drm_framebuffer: Remove set but unused variable 'fb' Date: Mon, 16 Nov 2020 17:40:58 +0000 Message-Id: <20201116174112.1833368-29-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201116174112.1833368-1-lee.jones@linaro.org> References: <20201116174112.1833368-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: David Airlie <airlied@linux.ie>, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
Rid W=1 warnings from GPU (non-Radeon)
|
expand
|
diff --git a/drivers/gpu/drm/selftests/test-drm_framebuffer.c b/drivers/gpu/drm/selftests/test-drm_framebuffer.c index 2d29ea6f92e2a..789f22773dbc9 100644 --- a/drivers/gpu/drm/selftests/test-drm_framebuffer.c +++ b/drivers/gpu/drm/selftests/test-drm_framebuffer.c @@ -330,10 +330,9 @@ static struct drm_device mock_drm_device = { static int execute_drm_mode_fb_cmd2(struct drm_mode_fb_cmd2 *r) { int buffer_created = 0; - struct drm_framebuffer *fb; mock_drm_device.dev_private = &buffer_created; - fb = drm_internal_framebuffer_create(&mock_drm_device, r, NULL); + drm_internal_framebuffer_create(&mock_drm_device, r, NULL); return buffer_created; }
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/selftests/test-drm_framebuffer.c: In function ‘execute_drm_mode_fb_cmd2’: drivers/gpu/drm/selftests/test-drm_framebuffer.c:333:26: warning: variable ‘fb’ set but not used [-Wunused-but-set-variable] Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/gpu/drm/selftests/test-drm_framebuffer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)