From patchwork Wed Oct 4 23:27:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kees Cook X-Patchwork-Id: 821529 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3y6sqQ2y0Yz9t2h for ; Thu, 5 Oct 2017 10:41:22 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="Ln53AfsK"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3y6sqQ1TBzzDr2n for ; Thu, 5 Oct 2017 10:41:22 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="Ln53AfsK"; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=chromium.org (client-ip=2607:f8b0:400e:c00::230; helo=mail-pf0-x230.google.com; envelope-from=keescook@chromium.org; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="Ln53AfsK"; dkim-atps=neutral Received: from mail-pf0-x230.google.com (mail-pf0-x230.google.com [IPv6:2607:f8b0:400e:c00::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3y6sX24ppYzDr1T for ; Thu, 5 Oct 2017 10:28:02 +1100 (AEDT) Received: by mail-pf0-x230.google.com with SMTP id d2so3846355pfh.0 for ; Wed, 04 Oct 2017 16:28:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/ksN2ZTyxjVi30ahu5yOG0nmZU/Q9UuZafn+U1M1r/c=; b=Ln53AfsKt/2WSRI6s2jdpSFttXU4i13lQjS7Y8g5U4v7m3FIwjhyfYG2pIW+oOpGTe gozWeW1BVaH5FnLotcROt31ojMKg9NDyUW64wD6C0LDbJm/Ggw8FMTRAxdY+oeKsWOQL YrW+Pf6/hE9U1sF+w/dsUzhdBuhdQp8nDkMEA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=/ksN2ZTyxjVi30ahu5yOG0nmZU/Q9UuZafn+U1M1r/c=; b=fAbBsUZjtnRncW8CsyOD7UU183j7AlcA6axz/T5IawsCDS743uTdI+ZA7CN1KO85aP YuXdoXDhtB6plKmhulD0qsfQ/9Ye/GzLcqFISSpizt2ek8PeriIYVKgQyfSY8rs/e+K0 T3qF3+EfMuEnSDYSJIJNEBXPMEjRR+VaPsbPDXuUguVQw64WbHRpwKbkVFPhZttGuJ+c NBHNePD/DyYLOdXYSiowuNnv1573RiKmHXkG0bNas/PfYYZyN3lIbhOvdZUmDnJc0kph Cbe5bhbn2K6MLVMXZ9OlMnoCCqvEXH/dHgrTAM75FEL4NRRda7FttOvytUhdhvYYxb2F sR0g== X-Gm-Message-State: AMCzsaVhqBxOM4DVAeGFpe9rQYjOCC0z2dLD8tmxZf3EwywF3cOpY6NL osqBEj/OlVUJtc8HKnt3ek2NQw== X-Google-Smtp-Source: AOwi7QA7ZIT2W2pn4IAh1qFg59HD9EWLLSYN/5pw9+jMhHUx8uB24XiVjwas+6RWJ9sSYp+dTelWsA== X-Received: by 10.98.166.86 with SMTP id t83mr302025pfe.345.1507159680293; Wed, 04 Oct 2017 16:28:00 -0700 (PDT) Received: from www.outflux.net (173-164-112-133-Oregon.hfc.comcastbusiness.net. [173.164.112.133]) by smtp.gmail.com with ESMTPSA id i84sm31216391pfj.105.2017.10.04.16.27.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Oct 2017 16:27:57 -0700 (PDT) From: Kees Cook To: Thomas Gleixner Subject: [PATCH 08/13] timer: Remove unused static initializer macros Date: Wed, 4 Oct 2017 16:27:02 -0700 Message-Id: <1507159627-127660-9-git-send-email-keescook@chromium.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507159627-127660-1-git-send-email-keescook@chromium.org> References: <1507159627-127660-1-git-send-email-keescook@chromium.org> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.24 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-mips@linux-mips.org, Petr Mladek , Lai Jiangshan , Sebastian Reichel , Kalle Valo , Paul Mackerras , Pavel Machek , linux1394-devel@lists.sourceforge.net, Chris Metcalf , linux-s390@vger.kernel.org, linux-wireless@vger.kernel.org, "James E.J. Bottomley" , Wim Van Sebroeck , Ursula Braun , Geert Uytterhoeven , Viresh Kumar , Harish Patil , Stephen Boyd , Michael Reed , Manish Chopra , Len Brown , Kees Cook , Arnd Bergmann , linux-pm@vger.kernel.org, Heiko Carstens , Tejun Heo , Julian Wiedmann , John Stultz , Mark Gross , linux-watchdog@vger.kernel.org, linux-scsi@vger.kernel.org, "Martin K. Petersen" , Greg Kroah-Hartman , "Rafael J. Wysocki" , Oleg Nesterov , Ralf Baechle , linux-kernel@vger.kernel.org, Stefan Richter , Guenter Roeck , netdev@vger.kernel.org, Martin Schwidefsky , Andrew Morton , linuxppc-dev@lists.ozlabs.org, Sudip Mukherjee Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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 --- include/linux/timer.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/include/linux/timer.h b/include/linux/timer.h index 4f7476e4a727..a33220311361 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)