Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6817011ybi; Mon, 22 Jul 2019 02:12:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqywCjKiqn+33mW2HEvLOHSLbM9pn8vPDUWgWuoJT+E9y6s7blY5PsNOq1jcLSAtP1y0qlAH X-Received: by 2002:a63:c006:: with SMTP id h6mr36970646pgg.290.1563786724842; Mon, 22 Jul 2019 02:12:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563786724; cv=none; d=google.com; s=arc-20160816; b=XtUZh/6+MRH+B7mK5qVX5jiX0z5jfqHS+1oW66XkKfzinqkqlEam/8lu2D36YtXUmh rDHB34yzW+Qx5AwM8zzxfta5uq6scCytLvMe5x8PUNKgrxs9fFfwO3gB4JiucxR1Gt9Z tpRdt2d2bRbIPABaKBuhiXX1q1/pczUxuzHtqfhC//IF8FUh4UOacRVRBAFJChFBkyDK rWw1N3flWpTdkVYExFwusOco0Yb+97MpbGZPWeO0+5ZiazQjpYzaCLRVXU0E7CXfjM0H OAl5rd/u7PofXYYZ+F+kidT1NBDnFzXPuDa+xwVN6nxw3KIH3UkUtW82YTk7vr4uE+w2 lxBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=nj8hr54aC91iZO9zPn8MMR4EigRoMAm4mTd0A3+k1NE=; b=iOdIBoNoLSHJpUKvA3Y/Q/oqdk+9KD+WFndE50fZd0L+3CziVpy4Axl31NUnZvayW/ 3bWrRujh1tNSoRqzcWCsDS0R/hKJhkIKWgFrUap3WHaZwYjSyBKzVkqgmxXG7RaU+yX1 OPgxUc/D0vNCEqxkHGPxuNM2wECATcRievUraTZ38upd9wuh0HNKv3bf9f2kyfhFnu+S FRnHwxhRTPMjLWF9clQxFtJMuD8J35IibO3UjztAvWVC2hc0yYG31VPokUY4/TkQV3jT Z8+MSL031VNvTbRGDJ74pPxNDnIYr73AAgJhfFKy762vGu4E/KvAo+B+/MjF/5VmmDNi rEAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hP5neMly; 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 b74si8725774pfb.281.2019.07.22.02.11.49; Mon, 22 Jul 2019 02:12:04 -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=hP5neMly; 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 S1727957AbfGVI1F (ORCPT + 99 others); Mon, 22 Jul 2019 04:27:05 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:44253 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726120AbfGVI1F (ORCPT ); Mon, 22 Jul 2019 04:27:05 -0400 Received: by mail-lj1-f196.google.com with SMTP id k18so36702686ljc.11; Mon, 22 Jul 2019 01:27:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nj8hr54aC91iZO9zPn8MMR4EigRoMAm4mTd0A3+k1NE=; b=hP5neMlyz+5e+2U8xDlE89eOLeTQWHaifGHF/QjpvKArO1BhhnEsqT7HfLg9KGm/qq qIlacbQp7CcFspokSaYv541f0QtAhFynrZGozw8oMU/qBIcvkfJVZrU4S+SJm6VYc0aX f8zJTvmroLD6bt+a1ZpBpbYye4JVoJ7yalM9I7ypuMDnyA0XSGC82n76FuLSIvytLjje nEI58UEqbDznzAcxz+0ma6vKfsFuhxI6cFn73UmXAaHE2NTYJviyzBaph9Edaq4c2CGw 6nNbCothbaDr1NUvgUJhDFKig8UrVfqLN8Ab8baYlI+iCE/Dmi4LfZaMwjBw+8Z92hwC 7Sjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nj8hr54aC91iZO9zPn8MMR4EigRoMAm4mTd0A3+k1NE=; b=oTCvTemefJDynsfVCLVRsbIb/IdjFGafp2WGBxF1SOIm1aIbXPDomsSfSIoXlOx5Pf +o8nshC02K9av8wqAON4UnIu1Om248GTbV+3s0iOaYTqbfRFiY/0JXibT/aH2jNPHoyh XCOeGpepS1WF/PVX2WKP3xDG4bg1TR8suBMxQyGyseHpOi2bVVm8vMpGUWBFFiIXwvus B0ue8xE94G0EVB7HHTOxSSw7jytzywlMnNs4KfPosPXnHi4iPea2NUhZky3eR0deD3By 0m3byT3SM+u9YnRVDmCN8xaSI0yGm56d9ilwxWDcxhpHEe0crPt9wETAESpWQqF0dHWW xcTQ== X-Gm-Message-State: APjAAAWZeRHoGVyWxI92+RirlCGluXRkzSWKpfz8x/wYed3CxSO2XK9D VTXEVRynHJb/jskzMEvlVt7Lgt8OErhL103KLGA= X-Received: by 2002:a2e:b009:: with SMTP id y9mr24641129ljk.152.1563784023026; Mon, 22 Jul 2019 01:27:03 -0700 (PDT) MIME-Version: 1.0 References: <1562782586-3994-1-git-send-email-jrdr.linux@gmail.com> In-Reply-To: <1562782586-3994-1-git-send-email-jrdr.linux@gmail.com> From: Souptick Joarder Date: Mon, 22 Jul 2019 13:56:51 +0530 Message-ID: Subject: Re: [PATCH] video: fbdev: nvidia: Remove dead code 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 Gupta Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 10, 2019 at 11:41 PM Souptick Joarder wrote: > > This is dead code since 3.15. If there is no plan to use it > further, this can be removed forever. Any comment on this patch ? > > 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 >