Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp434131pxx; Wed, 28 Oct 2020 08:15:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOvOrFeb6mGr1oJ74J41+c3UI9z6UTtEZlckOpgdzTwfm933cRLPrOas40NuAOUKSf+Df6 X-Received: by 2002:a17:906:4a8d:: with SMTP id x13mr8232764eju.47.1603898129879; Wed, 28 Oct 2020 08:15:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603898129; cv=none; d=google.com; s=arc-20160816; b=BPZ8Cb3/JZJN3yQ+l4PuoPRlFNrYhz6Jz/bGPso2A+1WAiw5nRFvaous4ryXb/BiCz Mr87x0o4cwheIJxBd6bCy8YfwnMynu8gV7nqjisMVo+xyie1rG2CXE8dYjJuMgpAqd3n rqDBVlIjsl9euM9eq4yRJceqv7zDvdYYt073WFgzkK8JraRzK/0F26YHWSvHwaD0Bjyf Tg+Nc/FGK0nqWk7RJWWSmee+qDk0TEok6i+MfxI0QBB9AdCbWnJgum5T10VkG2/rRA// Fd6/k2FxXyS0Xd7EhDRqdsApiEjHh7JTnC302AR+1pMDNSUjB/uTsPtkSu3Tub/1oKdD 3DPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=nUeg+KxMLxDKpdFvHBE7A01n74AzfVei6UlOMkqKwCo=; b=jnRDCKeAeu63POHeVOrdL4B28Vq8smbTuHYq5YylmQJJXJJJ4jaCpj6hmDM9EBDFBY GKWOBmlVEt8iZg6XNmlxFHtQYib7ELAHB6KOyEsRN1cq0jtnpkoOCZDrjp27lOOcZEFV AxNnT5mROktYWDRGaqsf8cSLKZDemUYu97eK7+WAdXndq2VHG0qUguJqW78ue8QimirL qHmngcD90oOFo7IBq50dB+cPO+fJgGxiPBc8FU7ZJKTK+RRd4M+Qr/8MgCkrl+36R0Yc Iyfo4LTwv1FqkhQ2xE0rTb3QK0SC8hzLrlOu7vsHkVM6Ff7AjHy7cE87tInM9Gbgy8kE /PHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eJd5hFTo; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dk22si2709939edb.258.2020.10.28.08.15.06; Wed, 28 Oct 2020 08:15:29 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eJd5hFTo; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1780435AbgJ0QcB (ORCPT + 99 others); Tue, 27 Oct 2020 12:32:01 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:41085 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1766281AbgJ0Qbv (ORCPT ); Tue, 27 Oct 2020 12:31:51 -0400 Received: by mail-pg1-f196.google.com with SMTP id g12so1085531pgm.8; Tue, 27 Oct 2020 09:31:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nUeg+KxMLxDKpdFvHBE7A01n74AzfVei6UlOMkqKwCo=; b=eJd5hFTofb9nO3xoRiSpfTlcid9glOapJOgmYsVfMyHHvMSOJrs4pSTEHyGbbow16A ylY6G8NsY4Rp2W3YRR23uTBIjPOT6NLyB31lgklY3LxgRJ/jXQHmWYolJMwNMykAU31L omCPGFyX2TlmPysrnXjSmUBT8KEmMLUW+VC7XCS+IyXKHgQxUeuMo1eHvIeFGwJm1BcP vk75vFLvPAzsd9ZmvJaT58BJu7ihx6Ek0p7WWMCQA59LU+F79ktZMZugsSsvx14EMtQ7 0mfZo1CtrJq1SA460eQflL/mteTWCpWJlAEewb/I7nJcuLWBv8+OdRm8fXsBjW5Y/XB4 qKww== 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=nUeg+KxMLxDKpdFvHBE7A01n74AzfVei6UlOMkqKwCo=; b=ZYBj0jIG+DPVuSTGjX9nNjkdkH9imtgOXwSEUPwyS0BP+MRFMNj6TjqX15Cts6Yrx0 BdPSQ4pdIFKYcPVxjV/gks+8RNwuzslqTb4dYIJpzuCkcnR1r/k4/oW67o8z+xcNPnaF Dc/byPEylVjYCA4//Ji+7LrG3O7P95W9aE+Z5YhsYMv9YGlQis48W0J652q8Due+Fvhd pFWs1fLF/gh8ot6sNwec4/zullb8lH5GWeeMS/BNasTWbe/EZSM7JcTYHI8MFVNN+AJz kgSsOvmgkndELPugrocBhidwXiaoyU6gDHHH4Zsbs2bx9RQTIHDMUqwiX9q88c3gUTHw 9BBg== X-Gm-Message-State: AOAM531XOsFph0vlfNuk0qaJc2fhU8AXa5bYibK9tcKxzFirg1mk54+O WygJ6R4jNBvqM5Tm5vBgJsMeoF82zELG X-Received: by 2002:a63:fe49:: with SMTP id x9mr2496134pgj.192.1603816310574; Tue, 27 Oct 2020 09:31:50 -0700 (PDT) Received: from localhost.localdomain (n11212042025.netvigator.com. [112.120.42.25]) by smtp.gmail.com with ESMTPSA id y8sm2771710pfg.104.2020.10.27.09.31.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Oct 2020 09:31:49 -0700 (PDT) From: Peilin Ye To: Daniel Vetter , Greg Kroah-Hartman Cc: Bartlomiej Zolnierkiewicz , Mike Rapoport , Andrew Morton , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, Peilin Ye Subject: [PATCH 1/5] fbdev/atafb: Remove unused extern variables Date: Tue, 27 Oct 2020 12:31:08 -0400 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- $ # 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 -- 2.25.1