Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965498AbaFCWRS (ORCPT ); Tue, 3 Jun 2014 18:17:18 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:42891 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965087AbaFCWIq (ORCPT ); Tue, 3 Jun 2014 18:08:46 -0400 From: Alexis Berlemont To: linux-kernel@vger.kernel.org Cc: Alexis Berlemont , jolsa@redhat.com, dsahern@gmail.com, mingo@kernel.org, sam@ravnborg.org, mmarek@suse.cz Subject: [PATCH 07/32] perf kbuild: remove useless #ifdef directives Date: Wed, 4 Jun 2014 00:06:00 +0200 Message-Id: <1401833185-10347-8-git-send-email-alexis.berlemont@gmail.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1401833185-10347-1-git-send-email-alexis.berlemont@gmail.com> References: <1401833185-10347-1-git-send-email-alexis.berlemont@gmail.com> In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --- tools/perf/ui/setup.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tools/perf/ui/setup.c b/tools/perf/ui/setup.c index 66ecd08..cb69740 100644 --- a/tools/perf/ui/setup.c +++ b/tools/perf/ui/setup.c @@ -71,20 +71,16 @@ void setup_browser(bool fallback_to_pager) switch (use_browser) { case 2: -#if defined(CONFIG_GUI) || !defined(CONFIG_KBUILD) if (setup_gtk_browser() == 0) break; printf("GTK browser requested but could not find %s\n", PERF_GTK_DSO); sleep(1); -#endif /* fall through */ -#if defined(CONFIG_TUI) || !defined(CONFIG_KBUILD) case 1: use_browser = 1; if (ui__init() == 0) break; -#endif /* fall through */ default: use_browser = 0; @@ -100,16 +96,12 @@ void exit_browser(bool wait_for_ok __maybe_unused) { switch (use_browser) { case 2: -#if defined(CONFIG_GUI) || !defined(CONFIG_KBUILD) exit_gtk_browser(wait_for_ok); break; -#endif -#if defined(CONFIG_TUI) || !defined(CONFIG_KBUILD) case 1: ui__exit(wait_for_ok); break; -#endif default: break; -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/