From patchwork Thu Jun 19 13:19:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 32217 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f199.google.com (mail-yk0-f199.google.com [209.85.160.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9FB9D21309 for ; Thu, 19 Jun 2014 13:20:11 +0000 (UTC) Received: by mail-yk0-f199.google.com with SMTP id 200sf4926977ykr.6 for ; Thu, 19 Jun 2014 06:20:11 -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=JH/9/t+8sOYxLzbTBFjLnpP4pl2w1bSiW3xdxQgqW9Aj0xWmtAQMC7Yuuki42EQQ9L oDwhRD5Nu6HiFrygMP1xdz8RcMP14uGzV2rx0+xGAUu5pNYJLQvC2MIzv9rd393teRl3 CPGjINFc5m/WzwWaZF6GKhzOh2/fUewyTKdec5MlHhwiYlD8KOfVMKmrGXHRi9wtLuKF pWJp0oXOIbdPjJTON7WdJdOSsCYY0HBtyQHbrxLoG3ELyLKh1U4VY4mBswH0tSyBQ0uP AhuUNZ4sBZJkznLr8Y1jmBuI0Cw2PajMKkqdJoz/yBB7Ymb0RZpaOi4owqNsu70Eoh2v 1/wA== X-Gm-Message-State: ALoCoQngMHPWlIjcaciV3lLR5B73UThfgCWRF/lbYFxkl1uaMujbbqi5xr/6IIu372WMTI06OrX+ X-Received: by 10.236.29.37 with SMTP id h25mr2002356yha.8.1403184011403; Thu, 19 Jun 2014 06:20:11 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.97.200 with SMTP id m66ls558928qge.83.gmail; Thu, 19 Jun 2014 06:20:11 -0700 (PDT) X-Received: by 10.221.69.68 with SMTP id yb4mr296016vcb.49.1403184011293; Thu, 19 Jun 2014 06:20:11 -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 uw7si2362441vec.24.2014.06.19.06.20.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Jun 2014 06:20:11 -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 hy10so2231841vcb.1 for ; Thu, 19 Jun 2014 06:20:11 -0700 (PDT) X-Received: by 10.52.88.44 with SMTP id bd12mr177893vdb.86.1403184011224; Thu, 19 Jun 2014 06:20:11 -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.54.6 with SMTP id vs6csp361283vcb; Thu, 19 Jun 2014 06:20:10 -0700 (PDT) X-Received: by 10.180.109.101 with SMTP id hr5mr6448881wib.25.1403184010227; Thu, 19 Jun 2014 06:20:10 -0700 (PDT) Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) by mx.google.com with ESMTPS id i8si20714734wiv.41.2014.06.19.06.20.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Jun 2014 06:20:10 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 74.125.82.47 as permitted sender) client-ip=74.125.82.47; Received: by mail-wg0-f47.google.com with SMTP id k14so2254741wgh.18 for ; Thu, 19 Jun 2014 06:20:09 -0700 (PDT) X-Received: by 10.180.189.44 with SMTP id gf12mr6756867wic.14.1403184009756; Thu, 19 Jun 2014 06:20:09 -0700 (PDT) Received: from sundance.lan (cpc4-aztw19-0-0-cust157.18-1.cable.virginm.net. [82.33.25.158]) by mx.google.com with ESMTPSA id m3sm11538652wik.7.2014.06.19.06.20.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Jun 2014 06:20:09 -0700 (PDT) From: Daniel Thompson To: kgdb-bugreport@lists.sourceforge.net, 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, Daniel Thompson , Ingo Molnar Subject: [PATCH v5 1/8] kdb: Remove currently unused kdbtab_t->cmd_flags Date: Thu, 19 Jun 2014 14:19:30 +0100 Message-Id: <1403183977-3454-2-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1403183977-3454-1-git-send-email-daniel.thompson@linaro.org> References: <1399381429-16194-1-git-send-email-daniel.thompson@linaro.org> <1403183977-3454-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? */