Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp264655pxk; Thu, 17 Sep 2020 02:23:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXZGFDpE3z569YOhKxuaaps76YAfublcQZqJ6e5480LTTvzsg9DEqYscU89kA/mPbvWBpG X-Received: by 2002:a50:9fe6:: with SMTP id c93mr31835823edf.151.1600334583495; Thu, 17 Sep 2020 02:23:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600334583; cv=none; d=google.com; s=arc-20160816; b=SQXpoOgF/2/0Z1/rHL7yBoOtjKwSQQDiQGsN345brkP1uJss3tu29P/EtXgBBBTv2h NqbUsw7ZcAH9KK/iDZ4vMj+KRhoxWNMghQhQFaIKX95ToiPllhg8ldSsD5SNCY026NXS BXP9z08Mx2K3hx/6RWVbFI8xChqw0ifE91zSdwwJrG9TBy9hx+50NSp5TqKDQ6KL7XzO QjHev5GvGyDH3c8g3FVDij3awvu0AYU9xJmhkvK9OvD8lYnAqBpahEyh2Mj4c1OhgDat Ly6vC193mVUOf4eJzVGo1r7cwOcWIfGZ/rpcaIR3SPSURXjRQlGjD/df5up7OjGA0XLF sL0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=OfeXNw+AEe4RcWTUov5wyiqIBFcbyVFG5sHTbUy0dl4=; b=UFLlXZ99kmzPHgZBL09r89Jidu0hlBkLVa181qoY8gO1vshW8RJfb+xilMil+tpk1z 2YezwPnpVmQgQ0jHB4XBKWl3l8LBxhtvQonrVSS8Je9BpZBgOz/Vaad+r2esnbXEHt7L PzV70OPrtR4PAjBR5+OFG+3IDIL0BO6rR0mIhPV4q3pMvIYorwAKfggm3XU5GkpPQUcX 0OteTkaeLdYZgo5QuUQxupLe7qrF618uw8k0jMxApCXjK1wmF8uqgzuU1xNXsEdMRO6V ZWRDQk1XOs0t9ZZBAQ7tVI8eJgQHeyRflonHsH9GuQgZ/CPyt9eDV2NEToydoZDQNPt8 7Jug== 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 l17si13495597ejc.226.2020.09.17.02.22.39; Thu, 17 Sep 2020 02:23:03 -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 S1726368AbgIQJUw (ORCPT + 99 others); Thu, 17 Sep 2020 05:20:52 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:42426 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726200AbgIQJUv (ORCPT ); Thu, 17 Sep 2020 05:20:51 -0400 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id D238686AB85E77F6F371; Thu, 17 Sep 2020 17:20:49 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.487.0; Thu, 17 Sep 2020 17:20:39 +0800 From: Xiaofei Tan To: , , , , , , , CC: , Xiaofei Tan Subject: [PATCH] fbdev: mx3fb: remove unused variable 'irq' Date: Thu, 17 Sep 2020 17:19:20 +0800 Message-ID: <1600334360-4214-1-git-send-email-tanxiaofei@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the variable 'irq' that is set but never used. Signed-off-by: Xiaofei Tan --- 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