Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752110AbZLNFm1 (ORCPT ); Mon, 14 Dec 2009 00:42:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751742AbZLNFmZ (ORCPT ); Mon, 14 Dec 2009 00:42:25 -0500 Received: from acsinet11.oracle.com ([141.146.126.233]:34669 "EHLO acsinet11.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751501AbZLNFmY (ORCPT ); Mon, 14 Dec 2009 00:42:24 -0500 From: Wenji Huang To: linux-kernel@vger.kernel.org Cc: fweisbec@gmail.com, Wenji Huang Subject: [PATCH] tracing: remove unnecessary variable in print_graph_return Date: Mon, 14 Dec 2009 13:39:32 +0800 Message-Id: <1260769172-16657-1-git-send-email-wenji.huang@oracle.com> X-Mailer: git-send-email 1.5.6 X-Source-IP: acsmt357.oracle.com [141.146.40.157] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090205.4B25D03B.0094:SCFMA4539814,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 883 Lines: 27 Remove the local variable of the same name cpu in branch. Signed-off-by: Wenji Huang --- kernel/trace/trace_functions_graph.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/kernel/trace/trace_functions_graph.c b/kernel/trace/trace_functions_graph.c index a43d009..51d071c 100644 --- a/kernel/trace/trace_functions_graph.c +++ b/kernel/trace/trace_functions_graph.c @@ -858,7 +858,6 @@ print_graph_return(struct ftrace_graph_ret *trace, struct trace_seq *s, int i; if (data) { - int cpu = iter->cpu; int *depth = &(per_cpu_ptr(data->cpu_data, cpu)->depth); /* -- 1.5.6 -- 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/