From patchwork Wed Jan 13 14:49:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362118 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp597999jap; Wed, 13 Jan 2021 06:50:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJwSBboImlaEmbZ9CbbZp1CZCmPlVBx6P/e+6qnBsRTH9KHqoRpYTvWlvSUGZ/6QhaIh8DRh X-Received: by 2002:a63:5014:: with SMTP id e20mr2395612pgb.152.1610549437240; Wed, 13 Jan 2021 06:50:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610549437; cv=none; d=google.com; s=arc-20160816; b=XvIUKGrx9/dAcY3idTMfLDfdSXw3MYTa32eSusM+Vj/MZHb5JjWjS5xhaAsVSp9twT 5IpRWGbIGRR1xo8BeIXbi4yYDEXWPkAnUbqU4OzAlX2KTrtlQASX9uT2rcNIO7FDNQUx XLtkhHo/ddSJT7uxDJwZA9za/0OgmyT+eRQ+/3crTtJtlmzR9Zi6Tddoj/O+MhdFMtbK aGo+qRpAunTXu7E3DdVWgZ7TB4Ww7udynNN7CJOf1VJf+ISyiTzOqxL5NZo+I5Lb4XsV X3+qCwfUXuRawM3LDcI3P3Oqgr/8de0QcreYHPSt+oLn4mUyYr+guSIGaD7o84EBWx0z 5ECQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=Ljqmj3rA9UMh5Lh19rfCTuUkG/7iIlZWaoxvHvM3Of4=; b=R6+vp7KYkkCdgnKcma1smHC0Z+9BfgDiyeuNNzolZGMEzYrx3+oHrS988fKWZnJNjQ 5NxoA1unhlPbQO4opcffgHpHqTInZ/vRKXUCEW8pDXX4yt9C5zJXGD0FOiRK3bAq+YNB J/QaZvXc71k+zckKMlIqfxqlO3xzoN38DAYaty+G5ZwXO+meQbvEZ85YayIqq4SleEtA 8adOzMx0Zar26kINWW+vICWIz/Tl4+Vv2GHEhnkcUNyazy5wri5gvEmm0IwxX6hEhwGl dGD9/K4OYKAq+4estEe4LUkuyYRLzCe4dyvxURasGHXskKjWLgP6zlYs2G26/jU80onr 389g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=sst9frRz; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id j20si2460395pfr.164.2021.01.13.06.50.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 06:50:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=sst9frRz; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 552936EA4C; Wed, 13 Jan 2021 14:50:31 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5ECC36EA52 for ; Wed, 13 Jan 2021 14:50:29 +0000 (UTC) Received: by mail-wr1-x436.google.com with SMTP id a12so2391917wrv.8 for ; Wed, 13 Jan 2021 06:50:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9Pf7w6hja2pyQaiiphc9339t7wWdI+GqQadABJm8g7Y=; b=sst9frRzW/IJefwutBUvPoGyyHkMdmNCE2/2cJ1SvAob/HspH1X56uzjWNN7XPuilz wdKSM/9Hqj3XNtAA/hBuaE7G/g9i5BxwEMY6nf9eunFCXOpEAB+tkTQ53x6HPpg6jtJ5 4/CwTTvIH5eIMy9CUXAYqkwetX52U5C8J5iXu+ftxRcgI6ioB4TaWFUZokVU0jMRv4go iVThPqkc16K5jm14VkBnPxRc0KOF1l7502J6ctNsR0SVyVrAujPyJcOPpNmjUaQa0T2D QXsr/aNolpDchgMH7vINY63kaYmkDnVOFM9EKwvSgcfdyGaw5+y6o1AKmnSdmQwT2uZv +w6g== 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=9Pf7w6hja2pyQaiiphc9339t7wWdI+GqQadABJm8g7Y=; b=DR+rtkr2T85YbDq2Xp8tN5gn0UjTgXWls3SntR1ew+HfvRjskaQgP46v5iAE6DsTUh yinqfVCKPCtFrz6A5alGdAepzcLadGy5eDR3pUuXFJ5oegfG0WMI3XjywyMWbdCF4iLs pKq3J0L11kbY1pwsO1/Ej6n9yVbc4FfU+z7XOGK3iyRPeqPwSx2DH1Irt4MjNVNd7luO zPGr1frQqJeMY42gzpsxFCuzMY+JcuuVZpT6mhDD67pkfBD5blQOLLkFlXoFp4/9cXPd KRHtzwvqDyNZyjgyjziogTUx6t96KD2v7MuQcQMZg6B6LvJTTUBOyOx5IBawHMqByGb3 IoOw== X-Gm-Message-State: AOAM5309PS/5Cb+u3t4/r2E5SYruALIKpvCv1HIiCOXcnMccNDzbkK81 odsAUzIyjvmCvEcEkTAs8BzexrT0k4riKEYH X-Received: by 2002:adf:f58a:: with SMTP id f10mr3137113wro.338.1610549428139; Wed, 13 Jan 2021 06:50:28 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id t188sm3273433wmf.9.2021.01.13.06.50.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 06:50:26 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 09/31] video: fbdev: sis: Remove superfluous include of 'init.h' Date: Wed, 13 Jan 2021 14:49:47 +0000 Message-Id: <20210113145009.1272040-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113145009.1272040-1-lee.jones@linaro.org> References: <20210113145009.1272040-1-lee.jones@linaro.org> MIME-Version: 1.0 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: linux-fbdev@vger.kernel.org, Thomas Winischhofer , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Neither 'sis.h' nor any of its consumers uses these tables. Fixes the following W=1 kernel build warning(s): drivers/video/fbdev/sis/init.h:144:28: warning: ‘SiS_VGA_DAC’ defined but not used [-Wunused-const-variable=] drivers/video/fbdev/sis/init.h:132:28: warning: ‘SiS_EGA_DAC’ defined but not used [-Wunused-const-variable=] drivers/video/fbdev/sis/init.h:120:28: warning: ‘SiS_CGA_DAC’ defined but not used [-Wunused-const-variable=] drivers/video/fbdev/sis/init.h:108:28: warning: ‘SiS_MDA_DAC’ defined but not used [-Wunused-const-variable=] drivers/video/fbdev/sis/init.h:106:29: warning: ‘ModeIndex_310_2048x1536’ defined but not used [-Wunused-const-variable drivers/video/fbdev/sis/init.h:105:29: warning: ‘ModeIndex_300_2048x1536’ defined but not used [-Wunused-const-variable drivers/video/fbdev/sis/init.h:104:29: warning: ‘ModeIndex_1920x1440’ defined but not used [-Wunused-const-variable=] drivers/video/fbdev/sis/init.h:103:29: warning: ‘ModeIndex_1920x1080’ defined but not used [-Wunused-const-variable=] drivers/video/fbdev/sis/init.h:102:29: warning: ‘ModeIndex_1600x1200’ defined but not used [-Wunused-const-variable=] drivers/video/fbdev/sis/init.h:101:29: warning: ‘ModeIndex_1680x1050’ defined but not used [-Wunused-const-variable=] drivers/video/fbdev/sis/init.h:100:29: warning: ‘ModeIndex_1400x1050’ defined but not used [-Wunused-const-variable=] NB: Snipped - there are 277 of these! Cc: Thomas Winischhofer Cc: dri-devel@lists.freedesktop.org Cc: linux-fbdev@vger.kernel.org Signed-off-by: Lee Jones --- drivers/video/fbdev/sis/sis.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/sis/sis.h b/drivers/video/fbdev/sis/sis.h index 9f4c3093ccb36..d632f096083b3 100644 --- a/drivers/video/fbdev/sis/sis.h +++ b/drivers/video/fbdev/sis/sis.h @@ -15,7 +15,6 @@ #include "vgatypes.h" #include "vstruct.h" -#include "init.h" #define VER_MAJOR 1 #define VER_MINOR 8