Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9565144ybi; Wed, 10 Jul 2019 12:33:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqzyeEi1CGJbiDYw98Rq33PLtb27kVDvUx7xAouOqBPXPEuVJusfJ2hCjZZAg1O2sMHv3FoD X-Received: by 2002:a17:902:aa88:: with SMTP id d8mr38730894plr.274.1562787190440; Wed, 10 Jul 2019 12:33:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562787190; cv=none; d=google.com; s=arc-20160816; b=aYwEJ9xYrYptOTkl3WpYY2Fvtt7e92HjGRU3WaemoZMH5USmIuYiK44gnQLUZ7Kcoi cmdMJGvZmHBt/hL/LIcYVU8zX2ZSXYBbj0rhMXeVF3X5p79LJtQRdcpI+9InNYiuZMXw cVG9JpBlO3tPDtGlT7CV3aZkuycMQ+Sm0eOzW/MHRTz8xjxQIN+r48mZ0oKJdoWn3/fH lk3cbLOiKnufF3e14M8qE82fwf/pH2h2eOT/WrCeUc3EfEAGubu9rGVBlmVZ/L0+Ismy WDljrMcnSy75bUyX0TPbIddhl6p0+OI+clH0IuNEWGitRDTOakxiTB+E86DMd/Gi0MRF u3NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=tkiQUH7jKLkTwFwCHjeNvDKd8Do7Dj+FovhMf1Vuvic=; b=WyH+/l4R0lRzOr4nGAgnvbihFts0B+DyjjzgHbeDealE7SQDp5g9IQdMNAobxl4ISG vREYISIDqBWFqtxEXQwn/Y7F+yw4HWqjy5U6y+kldqRTQbzuc1blaWvp5eInO7s2TrHS bQ1+DKrdUXkokpn/D8Tl/PCrFnR9hQrNi1WCnwjl4FUKnHqa7FA6yDQzDM2awE20NIsR DB0TKLWbI8WRx1sOcgiZI6sGFym1+VzMxeXHQRfiXTNSDDGDm+fPOdlNnTfgzh4dVbeS JY1oUOfhbpWWHJqGde3ZaZYpuuk/VQR/ape7BEvpL//AOOdF2dW6X92zZsiuiPRyUH0/ uoNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eHNzvQHZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id x191si2936138pgd.168.2019.07.10.12.32.54; Wed, 10 Jul 2019 12:33:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eHNzvQHZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727787AbfGJSLC (ORCPT + 99 others); Wed, 10 Jul 2019 14:11:02 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:43192 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727466AbfGJSLC (ORCPT ); Wed, 10 Jul 2019 14:11:02 -0400 Received: by mail-pl1-f194.google.com with SMTP id cl9so1602088plb.10; Wed, 10 Jul 2019 11:11:02 -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; bh=tkiQUH7jKLkTwFwCHjeNvDKd8Do7Dj+FovhMf1Vuvic=; b=eHNzvQHZfuEWGmRvlZNBGGtTB7xHUpJw6zdvQOKaJTkoQY/Ik8OyEfgE6TapG82OLm CXlSWeNtwDVj7Sty7PQnddjjMsvJN61sj1IcUgQYBTl/ieHiZTORfxjM9CX7lL2dv9mE 0kXrYzOhVqovdKceYEl2el/h8Ewk3HnuBW6VS6xhJQxy9TErXviuRpRFXKOgzT9sLeTy ww3ONk/P1aC69XA5pmvE6JtKQugquHjEA3rwwuqh6JEmRp2ajpvAGJ4SNldP54Xs9chQ WeGZh3TnRh3LXF935EacLaoNy1PcnmHntbjCf+VSXBTFPRxpu5gcia+ETnAh+78bTMAe 9UqQ== 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; bh=tkiQUH7jKLkTwFwCHjeNvDKd8Do7Dj+FovhMf1Vuvic=; b=t5gc0lornCnVgCo+3AvRTrvELpsvA8JkIYd+ySmigjyF8EyF0T6OpiUdPVy2UxLjNp 5cYx09KjFUIpIc0RL84srYGQRz/UM1SUu1tuV87PP5M8jGncrTvPTdDtkPzvPjujY2aV B2iUVcPITCn08dbWfJkgRa6++8PXRbi5tXW/70qkXolH9gqEGDuLUXc/KKprHs32DOnz eT0UUohtHPXgnzrlpgIRjk4W6zj4TVtjdj+Awep0z7wWlbUtvgfbAqVZ8ErWdufGBUmy Y9a6cUW8V+ezk/b0lg8KPnFQ4LH0ZEaJ6lHSXghtgY3XtmIVBtt0tcm8KlijHhsJG7Gj bqaQ== X-Gm-Message-State: APjAAAWq0kpNgVU7XUgapE5Nfo2KszKeL+J7R7AOiQmbyP2aAS0623F+ exvCToqCaSKZC9d1NB+AywM= X-Received: by 2002:a17:902:9a95:: with SMTP id w21mr40075670plp.126.1562782262024; Wed, 10 Jul 2019 11:11:02 -0700 (PDT) Received: from jordon-HP-15-Notebook-PC.domain.name ([106.51.16.82]) by smtp.gmail.com with ESMTPSA id s193sm8046179pgc.32.2019.07.10.11.10.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Jul 2019 11:11:01 -0700 (PDT) From: Souptick Joarder To: adaplas@gmail.com, b.zolnierkie@samsung.com Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, sabyasachi.linux@gmail.com, Souptick Joarder Subject: [PATCH] video: fbdev: nvidia: Remove dead code Date: Wed, 10 Jul 2019 23:46:26 +0530 Message-Id: <1562782586-3994-1-git-send-email-jrdr.linux@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is dead code since 3.15. If there is no plan to use it further, this can be removed forever. Signed-off-by: Souptick Joarder --- drivers/video/fbdev/nvidia/nv_setup.c | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/drivers/video/fbdev/nvidia/nv_setup.c b/drivers/video/fbdev/nvidia/nv_setup.c index b17acd2..2fa6866 100644 --- a/drivers/video/fbdev/nvidia/nv_setup.c +++ b/drivers/video/fbdev/nvidia/nv_setup.c @@ -119,34 +119,10 @@ u8 NVReadMiscOut(struct nvidia_par *par) { return (VGA_RD08(par->PVIO, VGA_MIS_R)); } -#if 0 -void NVEnablePalette(struct nvidia_par *par) -{ - volatile u8 tmp; - - tmp = VGA_RD08(par->PCIO, par->IOBase + 0x0a); - VGA_WR08(par->PCIO, VGA_ATT_IW, 0x00); - par->paletteEnabled = 1; -} -void NVDisablePalette(struct nvidia_par *par) -{ - volatile u8 tmp; - - tmp = VGA_RD08(par->PCIO, par->IOBase + 0x0a); - VGA_WR08(par->PCIO, VGA_ATT_IW, 0x20); - par->paletteEnabled = 0; -} -#endif /* 0 */ void NVWriteDacMask(struct nvidia_par *par, u8 value) { VGA_WR08(par->PDIO, VGA_PEL_MSK, value); } -#if 0 -u8 NVReadDacMask(struct nvidia_par *par) -{ - return (VGA_RD08(par->PDIO, VGA_PEL_MSK)); -} -#endif /* 0 */ void NVWriteDacReadAddr(struct nvidia_par *par, u8 value) { VGA_WR08(par->PDIO, VGA_PEL_IR, value); -- 1.9.1