Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp53948pxx; Wed, 28 Oct 2020 17:57:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySb4UpKFKUzZ/acg4Vj7wuY7oYnUHiAs2P3QBmMLEe5/IF5BTS4QLge22ONboOSno+5i3u X-Received: by 2002:a50:eb0a:: with SMTP id y10mr1668151edp.342.1603933072788; Wed, 28 Oct 2020 17:57:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603933072; cv=none; d=google.com; s=arc-20160816; b=akZwYQx34uxYpUjybk0e87/gveT8U98817RHXUBquNMCNIIZDWvcAgUM/x5GOhDutp 5a9DEIEcVPoT9gFVTY9DwXMC2BBKx48JNrEPPJoc7w9aSEKLN4a42boUGoBRC97tamjU 1nN9gmp1HLjnszpthIByEC8/j3o9W4GwH2Ge5uzOnsI9atd64O7+qCxIBr2DCasCmzb4 71viljnSx8xPDu1dcAEPym5isCRC9NdNvlBXIqmurgXNo4VhL+Yk/CqTMvfwSMvMzu+A rEl+9I1vXcImg9FL/8gorATYs1leh0cv1MC6GNsxTC+StCSKfgWeA9k8GycAFD3nPlDn rv9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=qo+mGW8UUkMHNX5AcFwzp89ghK4jbY9Bdlevne4LIzo=; b=jbowmlpCwIcrOVJRqFQauZ5wwSrghGZZjn24A8N+Ldw78sSoiY8+gu6XlLiZczbA2z KQanqiHiLmcx7Cw7hMCWL0ni8ePzTR1uKxUsKnFRELQqdWIa0fGffu9vtAhqD/+KxzOt 8yF4djuDZLoYri3Uqbmrwt2v4t4qdCUA8q3oYl2bqLi0IaqZ/6eUr9q91FJvUkAlig1w /aNXZh9IpMOY9nH0AIlnhRnQLIseScQTuh4EHBMvYRBOwa9EvMVSkjLQtRK2oCjkNJUK zds7rOw3OfzJcZVGVvY5bRml6RkNFDz4g8nwIIwTs7c8rHIKeRYPce4ig7SBzpIH+CwE 8Rvw== 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 b8si854875edn.129.2020.10.28.17.57.31; Wed, 28 Oct 2020 17:57:52 -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 S1728570AbgJ1Vxt (ORCPT + 99 others); Wed, 28 Oct 2020 17:53:49 -0400 Received: from mx2.suse.de ([195.135.220.15]:43402 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728524AbgJ1Vxn (ORCPT ); Wed, 28 Oct 2020 17:53:43 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 67912AEC4; Wed, 28 Oct 2020 19:25:56 +0000 (UTC) Subject: Re: [PATCH 1/5] fbdev/atafb: Remove unused extern variables To: Peilin Ye , Daniel Vetter , Greg Kroah-Hartman Cc: linux-fbdev@vger.kernel.org, Bartlomiej Zolnierkiewicz , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Andrew Morton , Mike Rapoport References: From: Thomas Zimmermann Message-ID: <4c15a505-9704-9639-aeaa-e865d264c120@suse.de> Date: Wed, 28 Oct 2020 20:25:55 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 27.10.20 um 17:31 schrieb Peilin Ye: > Remove 6 unused extern variables to reduce confusion. It is worth > mentioning that lib/fonts/font_8x8.c and lib/fonts/font_8x16.c also > declare `fontdata_8x8` and `fontdata_8x16` respectively, and this file > has nothing to do with them. > > Signed-off-by: Peilin Ye Acked-by: Thomas Zimmermann > --- > $ # Build-tested (Ubuntu 20.04) > $ sudo apt install gcc-m68k-linux-gnu > $ cp arch/m68k/configs/atari_defconfig .config > $ make ARCH=m68k menuconfig > $ make ARCH=m68k CROSS_COMPILE=m68k-linux-gnu- -j`nproc` all > > drivers/video/fbdev/atafb.c | 8 -------- > 1 file changed, 8 deletions(-) > > diff --git a/drivers/video/fbdev/atafb.c b/drivers/video/fbdev/atafb.c > index f253daa05d9d..e3812a8ff55a 100644 > --- a/drivers/video/fbdev/atafb.c > +++ b/drivers/video/fbdev/atafb.c > @@ -240,14 +240,6 @@ static int *MV300_reg = MV300_reg_8bit; > > static int inverse; > > -extern int fontheight_8x8; > -extern int fontwidth_8x8; > -extern unsigned char fontdata_8x8[]; > - > -extern int fontheight_8x16; > -extern int fontwidth_8x16; > -extern unsigned char fontdata_8x16[]; > - > /* > * struct fb_ops { > * * open/release and usage marking > -- Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Felix Imendörffer