From: akpm@linux-foundation.org Subject: [merged] fbmon-remove-unused-function-argument.patch removed from -mm tree Date: Wed, 27 Jul 2016 11:58:38 -0700 Message-ID: <5799045e.2aAYrC2Bp4I+39Xq%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:39893 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932337AbcG0S6j (ORCPT ); Wed, 27 Jul 2016 14:58:39 -0400 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: arnd@arndb.de, adobriyan@gmail.com, plagnioj@jcrosoft.com, tomi.valkeinen@ti.com, mm-commits@vger.kernel.org The patch titled Subject: fbmon: remove unused function argument has been removed from the -mm tree. Its filename was fbmon-remove-unused-function-argument.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Arnd Bergmann Subject: fbmon: remove unused function argument 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. This prevents a warning which everyone will see after "CFLAGS: add -Wunused-but-set-parameter" is merged. Link: http://lkml.kernel.org/r/20160715203229.1771162-1-arnd@arndb.de Signed-off-by: Arnd Bergmann Cc: Jean-Christophe Plagniol-Villard Cc: Tomi Valkeinen Cc: Alexey Dobriyan Signed-off-by: Andrew Morton --- drivers/video/fbdev/core/fbmon.c | 1 - 1 file changed, 1 deletion(-) diff -puN drivers/video/fbdev/core/fbmon.c~fbmon-remove-unused-function-argument drivers/video/fbdev/core/fbmon.c --- a/drivers/video/fbdev/core/fbmon.c~fbmon-remove-unused-function-argument +++ a/drivers/video/fbdev/core/fbmon.c @@ -1496,7 +1496,6 @@ int fb_parse_edid(unsigned char *edid, s } 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) { _ Patches currently in -mm which might be from arnd@arndb.de are procfs-avoid-32-bit-time_t-in-proc-stat.patch crc32-use-ktime_get_ns-for-measurement.patch compat-remove-compat_printk.patch nilfs2-replace-nilfs_warning-with-nilfs_msg-fix.patch