From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751609AbcCARba (ORCPT ); Tue, 1 Mar 2016 12:31:30 -0500 Received: from mail-pf0-f176.google.com ([209.85.192.176]:35100 "EHLO mail-pf0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750967AbcCARb3 (ORCPT ); Tue, 1 Mar 2016 12:31:29 -0500 Date: Tue, 1 Mar 2016 22:58:49 +0530 From: Pratyush Patel To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: [PATCH] hrtimer: redundant #ifdef block Message-ID: <20160301172849.GA18152@cyborg> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Only need CONFIG_NO_HZ_COMMON as this block is already in a CONFIG_SMP block. Signed-off-by: Pratyush Patel diff -urpN a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c --- a/kernel/time/hrtimer.c 2016-02-28 22:11:20.000000000 +0530 +++ b/kernel/time/hrtimer.c 2016-03-01 22:01:29.538877512 +0530 @@ -177,7 +177,7 @@ hrtimer_check_target(struct hrtimer *tim #endif } -#if defined(CONFIG_SMP) && defined(CONFIG_NO_HZ_COMMON) +#ifdef CONFIG_NO_HZ_COMMON static inline struct hrtimer_cpu_base *get_target_base(struct hrtimer_cpu_base *base, int pinned)