Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp593699pxk; Thu, 24 Sep 2020 13:14:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcoiZcMLFxBRSfIwQYPMIw6NpdgR2ev5ddsUdAWCAs030pCr35YF6EEr1wm4l0QX8cGFAj X-Received: by 2002:a17:906:2712:: with SMTP id z18mr365590ejc.380.1600978468582; Thu, 24 Sep 2020 13:14:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600978468; cv=none; d=google.com; s=arc-20160816; b=l4AFrlqhHOZieU2AGkBQ56Wc0AdfErEjoDwOsUJOy0Gcy4Gg/QcddvPGFsP7Jrz/6W tXeZ/1kxN3WpUwZSSCbkBGrpQPHCn6nVh+SmWFoLXARgNGIW6qi7AHg9cWMIvwGL9Eo5 97scGYxgsbBIHhWr2hYj3dirdjQ2RJ6fAhlrzERVOfM9aTISl1brEfcU+FgftkGPQPU2 bB2xwlvhCA5i3+ejgu02nOdbXu28b73knjfgiJAyC4Lkwt4XbrPPL6qnPbWOyZm4H5me heYEp8xfjdWBADfjT/Wpv/hC2B5H99nYnGoM5Guxh1nD9JXEQbifrd8A2K4/LnGkospZ A0zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=pyymdS450rW+Doqac4hywUvT/v4fAs3X/4H8Y8BJOxY=; b=0+Pbj/b6F9XlL2woq8KwSnMwZ/z8Az4w+MlkX4S7TWj/ZI4hvyckgJ0q+ZJcFfIRKx 5iIqNoDWJPAjLCJzuS7zAeaWM/Wn/kk9BUkECZEQaPbqkcqn2cB3kg8wtqz7PrqOKv57 eDg1JNuGZiOWGNRB2oEK6yD8M9TrockIYGZJP2YS0UwDb5CvNDen4KVCQeqHGCsd4awC M+egEyoBAspwZRiwbwlbdHh9C8fp6UJ62stgPUha4PjMZ7HpgP4iVXs30h4PZWMt+RJ3 CSqB+h1Hi5LwWovJpqf+sCpvZYpE2+pN5sKuZM6dCyHfi4YhelUaPPMGk9VWgLOOauAy gWVQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a4si328158edb.358.2020.09.24.13.14.05; Thu, 24 Sep 2020 13:14:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726281AbgIXUMu (ORCPT + 99 others); Thu, 24 Sep 2020 16:12:50 -0400 Received: from asavdk3.altibox.net ([109.247.116.14]:53444 "EHLO asavdk3.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725208AbgIXUMu (ORCPT ); Thu, 24 Sep 2020 16:12:50 -0400 Received: from ravnborg.org (unknown [188.228.123.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk3.altibox.net (Postfix) with ESMTPS id 7759420079; Thu, 24 Sep 2020 22:12:47 +0200 (CEST) Date: Thu, 24 Sep 2020 22:12:46 +0200 From: Sam Ravnborg To: Xiaofei Tan Cc: b.zolnierkie@samsung.com, arnd@arndb.de, laurent.pinchart@ideasonboard.com, jani.nikula@intel.com, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, linuxarm@huawei.com Subject: Re: [PATCH] fbdev: mx3fb: remove unused variable 'irq' Message-ID: <20200924201246.GH1223313@ravnborg.org> References: <1600334360-4214-1-git-send-email-tanxiaofei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1600334360-4214-1-git-send-email-tanxiaofei@huawei.com> X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=CaYmGojl c=1 sm=1 tr=0 a=S6zTFyMACwkrwXSdXUNehg==:117 a=S6zTFyMACwkrwXSdXUNehg==:17 a=kj9zAlcOel0A:10 a=i0EeH86SAAAA:8 a=6gI2KA8OTFMSUhKLS0YA:9 a=CjuIK1q_8ugA:10 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 17, 2020 at 05:19:20PM +0800, Xiaofei Tan wrote: > Remove the variable 'irq' that is set but never used. > > Signed-off-by: Xiaofei Tan Thanks, applied to drm-misc-next. Sam > --- > drivers/video/fbdev/mx3fb.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/video/fbdev/mx3fb.c b/drivers/video/fbdev/mx3fb.c > index 603731a..894617d 100644 > --- a/drivers/video/fbdev/mx3fb.c > +++ b/drivers/video/fbdev/mx3fb.c > @@ -1428,7 +1428,6 @@ static int init_fb_chan(struct mx3fb_data *mx3fb, struct idmac_channel *ichan) > struct device *dev = mx3fb->dev; > struct mx3fb_platform_data *mx3fb_pdata = dev_get_platdata(dev); > const char *name = mx3fb_pdata->name; > - unsigned int irq; > struct fb_info *fbi; > struct mx3fb_info *mx3fbi; > const struct fb_videomode *mode; > @@ -1441,7 +1440,6 @@ static int init_fb_chan(struct mx3fb_data *mx3fb, struct idmac_channel *ichan) > } > > ichan->client = mx3fb; > - irq = ichan->eof_irq; > > if (ichan->dma_chan.chan_id != IDMAC_SDC_0) > return -EINVAL; > -- > 2.8.1