From patchwork Fri Sep 6 15:13:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 173253 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp850200ilq; Fri, 6 Sep 2019 08:13:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKXzT6vP4275nPfzUhgIpA10L5wGbYYrJYDgW/DPyqsRwsKwQ8mK+hkKV5ixBy4nT7zvQw X-Received: by 2002:a17:902:e613:: with SMTP id cm19mr9066064plb.299.1567782814245; Fri, 06 Sep 2019 08:13:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567782814; cv=none; d=google.com; s=arc-20160816; b=OkQwQqUpMSO2EbHO0JJY9FGkicbmavV6EUiJn2dyj/Hd9BILExhl+eeDb8hjba5RZO h3klLNHPmtl7hyZuuzL4+gQY0bWLbNe0wRB1+Ua1b4uUhZeTqIUtyE0s2SZJ0fF/fn57 rqkDS/GhnVJLtGnL3ItIR+bTy23ufiElIF1+nkxsSAwbkGxM9z6WGw/Vmx/QZIRDukdM 1Qlw68ZT+5vmLMkj52rBBp0yA2MxC8nEirUC6zCLMpTDUEKaqt421tpxSCXCQlkb/Cf2 Jb+cSGZ3KmZ70ApQ1YpF/wHnKzBcU8abT4BpjAX4QQLcBKlCyeVf710h7bOL4ozptNsA mxzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=w0aAGEZ3Kfqi1o7ox5FuUIPpKQrBmIZgEmogZ9pssHA=; b=PE4s/AJB2g0i740OmbH1zuu+Z+0x8VChmJaNDXysHlhmI2QigNmtywyR1tbsyWOETo 4TwLeU4TOgVloQji1AiWyo5mxUdMMtQ8+kw6PuaFx0fYgD+GS+lz87lAKOWF0MHPcjVq FY7gZ6gHblZMuhdVuhwWm/7PsBNrnLzuhUPcT1ymwcBqdJoBNFjbvIykJ4mo3kDfaw4I BP6ZT/Xl+3JAE3ZfUm/y2FuPBo4+hePW8C0WCEtQCCROkDUgQeV2PVXbipCIVtqCw5XK 1Zov5kezRaJwv3n5m6BklStmYgTEJkibJ/7VGyYXMfimxTTGTqbtkiZqQ6nXLUNhr8fM VPtA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-fbdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-fbdev-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 90si4072571plf.311.2019.09.06.08.13.34 for ; Fri, 06 Sep 2019 08:13:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-fbdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-fbdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-fbdev-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732090AbfIFPNd (ORCPT ); Fri, 6 Sep 2019 11:13:33 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:42545 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729088AbfIFPNd (ORCPT ); Fri, 6 Sep 2019 11:13:33 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPA (Nemesis) id 1M1aQN-1i8BbC4BGV-0036MD; Fri, 06 Sep 2019 17:13:10 +0200 From: Arnd Bergmann To: Bartlomiej Zolnierkiewicz Cc: Arnd Bergmann , Daniel Vetter , Sam Ravnborg , Maarten Lankhorst , Daniel Vetter , Viresh Kumar , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] fbdev/sa1100fb: Remove even more dead code Date: Fri, 6 Sep 2019 17:13:00 +0200 Message-Id: <20190906151307.1127187-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:I6rpL7gCiCsYUlp6FQGbVholK0223LnZWj/mxxwbsh2wD5HPO0Y MgVBcVUFLW1dBmdRHCg4XJVf13q17fakxkds8ehcBiRyzFyuzAUTxekyquLBSQNqi73GnuK sZ1vOwTnwrszmg9WFHWB62ED8ONFwcWv3gEjZGuyAsYaw9u5kWcwqrkY49JhR48ELym/ShX ICERUva5XHQeD9P6oD39g== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:KwBM+j6sNhA=:23ZTg/QTnEz4XrkmDljwtB MBdqWImY+6RZZCY1helSoVRJQZLQtlx5auA31z4ZCkerN2bGZpU1wJzHJyS3eYxPG3j8s1cQD fwfXNzSeCwMmx/WjnOUNHcoCdV4+0gdvurE0600hcdX36SAuuDPb39EvvtNkQn9nCUlv3cviV o1q20+yQjrQMmNgBeF/vknJhKykartW1vGh8Go+HJMheA49YbbEP5jT2f6IaGHKQ+7wMUB5HD EV3WDLIEnB7WWU1NqamJj2LKye4Q64TKReDxf4krxrJ2ACBRdI5TqFGwOhUv3opeDxrJBkun6 eru8GRr9+SV18fjXTaYfQmDR0HFFn29T6v9fyddJGpyiu8ou2tYFrm7o5mTsjoLa8sV2Ga6eQ Eptf6a90avgIWO1+exad423axv8jx+SqSBZgcgsDogwLoyJ8a3N7xN1Z9SWHpQv8HclVxBcyJ 5+8PcsWHxGtm+TL3aXhbz4yX471/4N7MC93cHi4RRdow7KtK/0ZdOWHJmD8Gwv56KzXcu1XB7 tohcl6x0mR/GV+7S0mt/6CoKp/jIrBvH7AkMP5pDk7+1e3nLdFyGeHo0Sjk43MsrGjrV35k6W 90mdy/DlvYvQ031hrGQPt1PDYmTEIDjRj10g+X3euhe7eJoZBgRU+nM1bMSUBZ3nALhfOB23K C+DXCT5KqzCzX1msEBVRROa50EsIZdnaGgn2PJVgF7kfbLNhpj9ZpkVoj89XFuguvAriVISPe 0JB8/EcOeSJWhIzpcv3pe6G3s1sE3xH9t6aNDZWlG2LNjoLkvDpei0IwViHbimKzmXngWNfs8 e6r4WtvvxVl0i9gPzIkF1IjltyWgQ== Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org This function lost its only call site as part of earlier dead code removal, so remove it as well: drivers/video/fbdev/sa1100fb.c:975:21: error: unused function 'sa1100fb_min_dma_period' [-Werror,-Wunused-function] Fixes: 390e5de11284 ("fbdev/sa1100fb: Remove dead code") Signed-off-by: Arnd Bergmann --- drivers/video/fbdev/sa1100fb.c | 13 ------------- 1 file changed, 13 deletions(-) -- 2.20.0 diff --git a/drivers/video/fbdev/sa1100fb.c b/drivers/video/fbdev/sa1100fb.c index ae2bcfee338a..81ad3aa1ca06 100644 --- a/drivers/video/fbdev/sa1100fb.c +++ b/drivers/video/fbdev/sa1100fb.c @@ -967,19 +967,6 @@ static void sa1100fb_task(struct work_struct *w) } #ifdef CONFIG_CPU_FREQ -/* - * Calculate the minimum DMA period over all displays that we own. - * This, together with the SDRAM bandwidth defines the slowest CPU - * frequency that can be selected. - */ -static unsigned int sa1100fb_min_dma_period(struct sa1100fb_info *fbi) -{ - /* - * FIXME: we need to verify _all_ consoles. - */ - return sa1100fb_display_dma_period(&fbi->fb.var); -} - /* * CPU clock speed change handler. We need to adjust the LCD timing * parameters when the CPU clock is adjusted by the power management