From patchwork Thu Jun 16 11:38:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102178 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp213974qgy; Thu, 16 Jun 2016 04:42:02 -0700 (PDT) X-Received: by 10.66.246.234 with SMTP id xz10mr4704229pac.24.1466077298969; Thu, 16 Jun 2016 04:41:38 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id wg5si28896661pab.119.2016.06.16.04.41.38; Thu, 16 Jun 2016 04:41:38 -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 S1754268AbcFPLli (ORCPT + 2 others); Thu, 16 Jun 2016 07:41:38 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:58674 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754021AbcFPLlf (ORCPT ); Thu, 16 Jun 2016 07:41:35 -0400 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0MXYog-1asAsD0P8Y-00WTfE; Thu, 16 Jun 2016 13:38:55 +0200 From: Arnd Bergmann To: Tomi Valkeinen Cc: Arnd Bergmann , Jean-Christophe Plagniol-Villard , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/5] fbmon: remove unused function argument Date: Thu, 16 Jun 2016 13:38:26 +0200 Message-Id: <20160616113831.4108439-6-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160616113831.4108439-1-arnd@arndb.de> References: <20160616113831.4108439-1-arnd@arndb.de> X-Provags-ID: V03:K0:NCcZrx3NvWSXIxPGtCuu8ubgalbc2gbPWxC7lK36gD5GKSR8hZ/ rl+ZvQTmxG0/sA9fUrjtM8o/pieOa0yadO9IRgbDxb6rA3kRze7d+Nraym8q96/GIIU/Ksh pRtklmSwE50YTGWNLfvXmXcNW8CaqluTGkx+Gt5XpV5bhJ44EHIhTeIfCAHgv04Bbo3bxTZ iAppR0lSbf210jO+nN86g== X-UI-Out-Filterresults: notjunk:1; V01:K0:huob6JYPtO0=:YeHKVmLmw7aasxLT8g+Tb9 DcVZaqPTLmOFhagLEJVqCC1sU55ELu9hqDS8c2+P7ENED1+eiMMbWFTxDDg1Vs6U/BQosgXxs 6joVM2k5gkGECu+IT/n8NmKAGAyEPtFk6DZbyONz/5ljl9rq5IT9X6RvJ/bsr97zHxKPXlYD1 j5CKTZEmspX2D6gVEWN59De3wxLyqOqIKbT/7QXgGvlcqzgxrQiCqPs7DpDE5YQEk5RaLaEjq dyHRGRYNC7zujv+mqUd9G/m3BYQ9j7Y8vM/ibmPCfIjz6G19P2ZnEXKEaCotk219jyJToWPDI fOtZLmet3ROKe35zkXYR+VIl/2u5+PPIzPsyaT/2ZvZVPZvoSQpBLh0FNHpqEMtVPOy3C5CwX xeZFS/AQZKZCTz/Aj9oNr7J5HsI6wE21RyTaZ2kT37ch/I4FuKeerDzu9K6YCYJ5L3g+2Otcb QBegwX13x682/JqZhycPcA+GnPi5tzBj3ew5mW2pjrPRzh3xENCwDG8oCsMGkjn+0BDz88w5d frXYnO76lRaWyh2nCWu6zDkgelVqUaviA2U+AFHdWDabH9mre4axTX+hUQqz6oE2cWP/bvFPk fXdhBc4EnxZdIMVyUCpRUBcGsz3NgjisCFV/n8YCo/9pMiVXumGsCRAJ42JlUqLkFK5UGwMgy uBVIGF/StI4tozs7ItIG3V3hhN78iyoOQmEd+vlule0c8wk69Eize3Dd0fXChyUOeu4c= Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org When building with "make W=1", we get a warning about an empty stub function that does nothing but reassign its one of its arguments: drivers/video/fbdev/core/fbmon.c: In function 'fb_edid_to_monspecs': drivers/video/fbdev/core/fbmon.c:1497:67: error: parameter 'specs' set but not used [-Werror=unused-but-set-parameter] We can simply make that function completely empty to avoid the warning. Signed-off-by: Arnd Bergmann --- drivers/video/fbdev/core/fbmon.c | 1 - 1 file changed, 1 deletion(-) -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/video/fbdev/core/fbmon.c b/drivers/video/fbdev/core/fbmon.c index 55e39e822b79..eaa6bab21839 100644 --- a/drivers/video/fbdev/core/fbmon.c +++ b/drivers/video/fbdev/core/fbmon.c @@ -1496,7 +1496,6 @@ int fb_parse_edid(unsigned char *edid, struct fb_var_screeninfo *var) } void fb_edid_to_monspecs(unsigned char *edid, struct fb_monspecs *specs) { - specs = NULL; } void fb_edid_add_monspecs(unsigned char *edid, struct fb_monspecs *specs) {