From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751489AbdJENVM (ORCPT ); Thu, 5 Oct 2017 09:21:12 -0400 Received: from terminus.zytor.com ([65.50.211.136]:59127 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751317AbdJENVK (ORCPT ); Thu, 5 Oct 2017 09:21:10 -0400 Date: Thu, 5 Oct 2017 06:06:38 -0700 From: tip-bot for Kees Cook Message-ID: Cc: cmetcalf@mellanox.com, john.stultz@linaro.org, oleg@redhat.com, heiko.carstens@de.ibm.com, akpm@linux-foundation.org, wim@iguana.be, kvalo@qca.qualcomm.com, pmladek@suse.com, mingo@kernel.org, jiangshanlai@gmail.com, manish.chopra@cavium.com, mark.gross@intel.com, martin.petersen@oracle.com, geert@linux-m68k.org, benh@kernel.crashing.org, paulus@samba.org, sudipm.mukherjee@gmail.com, mpe@ellerman.id.au, harish.patil@cavium.com, len.brown@intel.com, viresh.kumar@linaro.org, rjw@rjwysocki.net, hpa@zytor.com, schwidefsky@de.ibm.com, linux-kernel@vger.kernel.org, pavel@ucw.cz, mdr@sgi.com, linux@roeck-us.net, jwi@linux.vnet.ibm.com, sre@kernel.org, ralf@linux-mips.org, keescook@chromium.org, stefanr@s5r6.in-berlin.de, tglx@linutronix.de, jejb@linux.vnet.ibm.com, gregkh@linuxfoundation.org, sboyd@codeaurora.org, arnd@arndb.de, tj@kernel.org, ubraun@linux.vnet.ibm.com Reply-To: mingo@kernel.org, pmladek@suse.com, kvalo@qca.qualcomm.com, wim@iguana.be, akpm@linux-foundation.org, heiko.carstens@de.ibm.com, oleg@redhat.com, john.stultz@linaro.org, cmetcalf@mellanox.com, sudipm.mukherjee@gmail.com, paulus@samba.org, benh@kernel.crashing.org, geert@linux-m68k.org, martin.petersen@oracle.com, mark.gross@intel.com, manish.chopra@cavium.com, jiangshanlai@gmail.com, ralf@linux-mips.org, jwi@linux.vnet.ibm.com, sre@kernel.org, linux@roeck-us.net, mdr@sgi.com, linux-kernel@vger.kernel.org, schwidefsky@de.ibm.com, pavel@ucw.cz, hpa@zytor.com, rjw@rjwysocki.net, viresh.kumar@linaro.org, len.brown@intel.com, harish.patil@cavium.com, mpe@ellerman.id.au, ubraun@linux.vnet.ibm.com, tj@kernel.org, arnd@arndb.de, sboyd@codeaurora.org, gregkh@linuxfoundation.org, jejb@linux.vnet.ibm.com, stefanr@s5r6.in-berlin.de, tglx@linutronix.de, keescook@chromium.org In-Reply-To: <1507159627-127660-9-git-send-email-keescook@chromium.org> References: <1507159627-127660-9-git-send-email-keescook@chromium.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:timers/core] timer: Remove unused static initializer macros Git-Commit-ID: fca7ce5b7c6d3eda8c2e011cff98d22e0fbd5097 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: fca7ce5b7c6d3eda8c2e011cff98d22e0fbd5097 Gitweb: https://git.kernel.org/tip/fca7ce5b7c6d3eda8c2e011cff98d22e0fbd5097 Author: Kees Cook AuthorDate: Wed, 4 Oct 2017 16:27:02 -0700 Committer: Thomas Gleixner CommitDate: Thu, 5 Oct 2017 15:01:19 +0200 timer: Remove unused static initializer macros This removes the now unused TIMER_*INITIALIZER macros: TIMER_INITIALIZER TIMER_PINNED_INITIALIZER TIMER_DEFERRED_INITIALIZER TIMER_PINNED_DEFERRED_INITIALIZER Signed-off-by: Kees Cook Signed-off-by: Thomas Gleixner Cc: linux-mips@linux-mips.org Cc: Petr Mladek Cc: Benjamin Herrenschmidt Cc: Lai Jiangshan Cc: Sebastian Reichel Cc: Kalle Valo Cc: Paul Mackerras Cc: Pavel Machek Cc: linux1394-devel@lists.sourceforge.net Cc: Chris Metcalf Cc: linux-s390@vger.kernel.org Cc: linux-wireless@vger.kernel.org Cc: "James E.J. Bottomley" Cc: Wim Van Sebroeck Cc: Michael Ellerman Cc: Ursula Braun Cc: Geert Uytterhoeven Cc: Viresh Kumar Cc: Harish Patil Cc: Stephen Boyd Cc: Michael Reed Cc: Manish Chopra Cc: Len Brown Cc: Arnd Bergmann Cc: linux-pm@vger.kernel.org Cc: Heiko Carstens Cc: Tejun Heo Cc: Julian Wiedmann Cc: John Stultz Cc: Mark Gross Cc: linux-watchdog@vger.kernel.org Cc: linux-scsi@vger.kernel.org Cc: "Martin K. Petersen" Cc: Greg Kroah-Hartman Cc: "Rafael J. Wysocki" Cc: Oleg Nesterov Cc: Ralf Baechle Cc: Stefan Richter Cc: Guenter Roeck Cc: netdev@vger.kernel.org Cc: Martin Schwidefsky Cc: Andrew Morton Cc: linuxppc-dev@lists.ozlabs.org Cc: Sudip Mukherjee Link: https://lkml.kernel.org/r/1507159627-127660-9-git-send-email-keescook@chromium.org --- include/linux/timer.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/include/linux/timer.h b/include/linux/timer.h index 4f7476e..a332203 100644 --- a/include/linux/timer.h +++ b/include/linux/timer.h @@ -73,18 +73,6 @@ struct timer_list { __FILE__ ":" __stringify(__LINE__)) \ } -#define TIMER_INITIALIZER(_function, _expires, _data) \ - __TIMER_INITIALIZER((_function), (_expires), (_data), 0) - -#define TIMER_PINNED_INITIALIZER(_function, _expires, _data) \ - __TIMER_INITIALIZER((_function), (_expires), (_data), TIMER_PINNED) - -#define TIMER_DEFERRED_INITIALIZER(_function, _expires, _data) \ - __TIMER_INITIALIZER((_function), (_expires), (_data), TIMER_DEFERRABLE) - -#define TIMER_PINNED_DEFERRED_INITIALIZER(_function, _expires, _data) \ - __TIMER_INITIALIZER((_function), (_expires), (_data), TIMER_DEFERRABLE | TIMER_PINNED) - #define DEFINE_TIMER(_name, _function, _expires, _data) \ struct timer_list _name = \ __TIMER_INITIALIZER(_function, _expires, _data, 0)