From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F6A4C00A89 for ; Mon, 2 Nov 2020 20:45:46 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DAAA3206E5 for ; Mon, 2 Nov 2020 20:45:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ffwll.ch header.i=@ffwll.ch header.b="kn/DKBq0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DAAA3206E5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DEAAE6E12B; Mon, 2 Nov 2020 20:45:43 +0000 (UTC) Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id 147196E12B for ; Mon, 2 Nov 2020 20:45:43 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id k10so14806777wrw.13 for ; Mon, 02 Nov 2020 12:45:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=EgDmDTAHNRERIs1Qs6LxMsm9Fp21ADMmVjMM6KY2P3s=; b=kn/DKBq0Q1vnClQs8a/dzgTgzU6mqAHIQ8ESwR1ILI7ZtARyZWQGzIlcUQL9O4e71l e9wkmkwhsOIPx9f4wez814UgbGn96ufN3czHU3BQ6kQ1Yq8uvRXHYyIox1Z86SK2nKII 696fLNztQrqJqia3nP8/8zb2tw102/kRShweE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=EgDmDTAHNRERIs1Qs6LxMsm9Fp21ADMmVjMM6KY2P3s=; b=B3IThqVyeaP5uiAgL8faCReZNMKlLTbDqM7CulLMSw3Qb6GAOZhYC6zy7KTliZ4e8t RbEEahEVEV9Tq1+JqQyoKxomWer6pl2CuU2Wsg5573+FDTX3lKyMNiMq2T/9MLB6yGrO 97NxMN2ME+q4N0UC1mXzUBgI+aF1BA4w0ubnEueJUbn/S28QJdbxu4rUqLcKYw514IvT xjdRvzkSZI/yAVbULemIIT+6wnDqFOMmKpCxSPR7Q4yyf3NJeKOaBEdkXzh7aMxQzmLW dzN+m+ZL/X0vrmTfHVr8Na5Xk70EafG7ehtvKM4gk2y0iCpzT8x1OATWMLop8S9AQxgZ VufA== X-Gm-Message-State: AOAM533GMsn/j1WuoMmFKq0ZhftPwsqQwXVSquT5VsTEUJmU6AMfc/JF xhobzS35mrfSgsgNIuWygSmUfw== X-Google-Smtp-Source: ABdhPJym+XlhC8lAm6/tK8SspATK+4kWruY344HqZKeJ1DmuzprOLaLMIeODvnJnRfetmqJjQWH8dg== X-Received: by 2002:a05:6000:1252:: with SMTP id j18mr20945406wrx.18.1604349941828; Mon, 02 Nov 2020 12:45:41 -0800 (PST) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id g138sm615943wme.39.2020.11.02.12.45.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 12:45:40 -0800 (PST) Date: Mon, 2 Nov 2020 21:45:38 +0100 From: Daniel Vetter To: Maxime Ripard Subject: Re: [PATCH] drm/vc4: drv: Remove unused variable Message-ID: <20201102204538.GV401619@phenom.ffwll.local> References: <20201102162908.1436567-1-maxime@cerno.tech> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201102162908.1436567-1-maxime@cerno.tech> X-Operating-System: Linux phenom 5.7.0-1-amd64 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, Thomas Zimmermann , Daniel Vetter Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Mon, Nov 02, 2020 at 05:29:08PM +0100, Maxime Ripard wrote: > The commit dcda7c28bff2 ("drm/vc4: kms: Add functions to create the state > objects") removed the last users of the vc4 variable, but didn't remove > that variable resulting in a warning. > > Fixes: dcda7c28bff2 ("drm/vc4: kms: Add functions to create the state objects") > Reported-by: Daniel Vetter > Signed-off-by: Maxime Ripard Reviewed-by: Daniel Vetter > --- > drivers/gpu/drm/vc4/vc4_drv.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/gpu/drm/vc4/vc4_drv.c b/drivers/gpu/drm/vc4/vc4_drv.c > index 08c1cc225045..2cd97a39c286 100644 > --- a/drivers/gpu/drm/vc4/vc4_drv.c > +++ b/drivers/gpu/drm/vc4/vc4_drv.c > @@ -307,7 +307,6 @@ static int vc4_drm_bind(struct device *dev) > static void vc4_drm_unbind(struct device *dev) > { > struct drm_device *drm = dev_get_drvdata(dev); > - struct vc4_dev *vc4 = to_vc4_dev(drm); > > drm_dev_unregister(drm); > > -- > 2.28.0 > -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel