From patchwork Fri Jul 11 11:33:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 33475 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f71.google.com (mail-qa0-f71.google.com [209.85.216.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A24EF20672 for ; Fri, 11 Jul 2014 11:36:05 +0000 (UTC) Received: by mail-qa0-f71.google.com with SMTP id m5sf3148078qaj.10 for ; Fri, 11 Jul 2014 04:36:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=CjIKqM3XiZz/VtYzYQSz3N129PU3Pt0cXfly0Oyf5T8=; b=Ezq5jyZPaKqJPO5XcATL66V1s59hB6ZYEEXCNabSLs3dSAXyFEzNoVh2ngUqLeD/aM ny+F7m1jr+/OgvhKzbFTXVyCath/3CQRtdiDWGkqUVZGRzOR3+DiPxDjIjKQ36IVVTvj ddvrM/zGs+1wJgYcwpjEZnFsCD0IykAd2XQTSUaelBwZxyzJnaDg7iCtyjGHvlRtc+xM dq4o8LE36KELn7YrsUW2NMSLEYbweYnbk88DD+WpDo5SyCQ4qkrdYK+9wBOcW8h9iuzd YUTSgm1Bxy0KWkCyujFjxTfVZD1QTeMNUmjvggge+dtv9FVgseB5hFYwll1mm9uNNa+e joQQ== X-Gm-Message-State: ALoCoQnrXagVcn6DmcdoSs9PkGMI63VurFmFGO+E0X3NU/sjzmWDsZYP4Jn1fctSzt2tHrp9oXej X-Received: by 10.236.171.234 with SMTP id r70mr22539783yhl.45.1405078565350; Fri, 11 Jul 2014 04:36:05 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.106.134 with SMTP id e6ls373996qgf.34.gmail; Fri, 11 Jul 2014 04:36:05 -0700 (PDT) X-Received: by 10.52.135.7 with SMTP id po7mr280330vdb.50.1405078565292; Fri, 11 Jul 2014 04:36:05 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id yr5si1341641vdb.14.2014.07.11.04.36.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Jul 2014 04:36:05 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id hu12so653177vcb.1 for ; Fri, 11 Jul 2014 04:36:05 -0700 (PDT) X-Received: by 10.220.2.18 with SMTP id 18mr323003vch.49.1405078565194; Fri, 11 Jul 2014 04:36:05 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp27713vcb; Fri, 11 Jul 2014 04:36:04 -0700 (PDT) X-Received: by 10.194.58.199 with SMTP id t7mr66000503wjq.14.1405078564032; Fri, 11 Jul 2014 04:36:04 -0700 (PDT) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by mx.google.com with ESMTPS id k1si3386484wiz.90.2014.07.11.04.35.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Jul 2014 04:35:54 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 209.85.212.170 as permitted sender) client-ip=209.85.212.170; Received: by mail-wi0-f170.google.com with SMTP id cc10so655439wib.5 for ; Fri, 11 Jul 2014 04:35:53 -0700 (PDT) X-Received: by 10.180.104.132 with SMTP id ge4mr4504761wib.0.1405078552598; Fri, 11 Jul 2014 04:35:52 -0700 (PDT) Received: from harvey.bri.st.com (LPuteaux-656-01-48-212.w82-127.abo.wanadoo.fr. [82.127.83.212]) by mx.google.com with ESMTPSA id ub8sm6541984wib.0.2014.07.11.04.35.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Jul 2014 04:35:51 -0700 (PDT) From: Daniel Thompson To: Jason Wessel Cc: Anton Vorontsov , patches@linaro.org, linaro-kernel@lists.linaro.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby , Steven Rostedt , Frederic Weisbecker , Ingo Molnar , John Stultz , Colin Cross , kernel-team@android.com, kgdb-bugreport@lists.sourceforge.net, Daniel Thompson , Ingo Molnar Subject: [RESEND PATCH v5 3.16-rc4 1/8] kdb: Remove currently unused kdbtab_t->cmd_flags Date: Fri, 11 Jul 2014 12:33:31 +0100 Message-Id: <1405078418-14070-2-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1405078418-14070-1-git-send-email-daniel.thompson@linaro.org> References: <1399381429-16194-1-git-send-email-daniel.thompson@linaro.org> <1405078418-14070-1-git-send-email-daniel.thompson@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.thompson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Anton Vorontsov The struct member is never used in the code, so we can remove it. We will introduce real flags soon by renaming cmd_repeat to cmd_flags. Signed-off-by: Anton Vorontsov Signed-off-by: John Stultz Signed-off-by: Daniel Thompson Cc: Jason Wessel Cc: Ingo Molnar Cc: kgdb-bugreport@lists.sourceforge.net --- kernel/debug/kdb/kdb_main.c | 1 - kernel/debug/kdb/kdb_private.h | 1 - 2 files changed, 2 deletions(-) diff --git a/kernel/debug/kdb/kdb_main.c b/kernel/debug/kdb/kdb_main.c index 2f7c760..0b28bb0 100644 --- a/kernel/debug/kdb/kdb_main.c +++ b/kernel/debug/kdb/kdb_main.c @@ -2694,7 +2694,6 @@ int kdb_register_repeat(char *cmd, kp->cmd_func = func; kp->cmd_usage = usage; kp->cmd_help = help; - kp->cmd_flags = 0; kp->cmd_minlen = minlen; kp->cmd_repeat = repeat; diff --git a/kernel/debug/kdb/kdb_private.h b/kernel/debug/kdb/kdb_private.h index 7afd3c8..c4c46c7 100644 --- a/kernel/debug/kdb/kdb_private.h +++ b/kernel/debug/kdb/kdb_private.h @@ -172,7 +172,6 @@ typedef struct _kdbtab { kdb_func_t cmd_func; /* Function to execute command */ char *cmd_usage; /* Usage String for this command */ char *cmd_help; /* Help message for this command */ - short cmd_flags; /* Parsing flags */ short cmd_minlen; /* Minimum legal # command * chars required */ kdb_repeat_t cmd_repeat; /* Does command auto repeat on enter? */