From patchwork Thu Nov 6 14:36:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 40309 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3524024237 for ; Thu, 6 Nov 2014 14:37:26 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id f15sf758192lbj.7 for ; Thu, 06 Nov 2014 06:37:25 -0800 (PST) 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=FYQ8aJoWzKzGMolQqo6h3bEk/+sQtPhVD4af5GN/udg=; b=H/0oLIr08z3RuarSCTVMYqFeHgw5jkWLHVhWsV5/lIFHCdqvekyM/zGN/zhUV/AWkz G/hfbEHqxQ7NEiDfjY5TmFq9Klic37ALg2WON21ERvB1K2msvio2Nzf+o3f+Psr3kSNu YCzwPPaHMNtLuVnG+CmJZ19hmNAqok+UP7Mx3dKEJfvnHIiWqC2fPQgCoNxIkgTfXd+b S3FScsZV8r/UIiXUZfy2FKkarqrN7AiNF1b2YUD3q9PFjMgfjf7+0zeFcA4gmGke79O+ T+v01gP3Iufmuaxmr1thdlhCQh9YRaGVahAPxPGFhumNc//ZVmPw1W3qF2YzKajHKN85 B9Pg== X-Gm-Message-State: ALoCoQmakUPxTmCNTWKyEVs2PluMJlPUttqhUM8S47jlItr/hrLojnSWpst2+1QbAguRk/2S4jrg X-Received: by 10.112.180.71 with SMTP id dm7mr43938lbc.18.1415284645200; Thu, 06 Nov 2014 06:37:25 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.38 with SMTP id n6ls84303laj.86.gmail; Thu, 06 Nov 2014 06:37:25 -0800 (PST) X-Received: by 10.152.234.136 with SMTP id ue8mr5363219lac.21.1415284644983; Thu, 06 Nov 2014 06:37:24 -0800 (PST) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id u16si11714397laz.45.2014.11.06.06.37.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Nov 2014 06:37:24 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by mail-lb0-f179.google.com with SMTP id l4so1002196lbv.24 for ; Thu, 06 Nov 2014 06:37:24 -0800 (PST) X-Received: by 10.112.130.41 with SMTP id ob9mr5337848lbb.74.1415284644877; Thu, 06 Nov 2014 06:37:24 -0800 (PST) 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.112.184.201 with SMTP id ew9csp53377lbc; Thu, 6 Nov 2014 06:37:24 -0800 (PST) X-Received: by 10.181.13.20 with SMTP id eu20mr41105496wid.36.1415284643984; Thu, 06 Nov 2014 06:37:23 -0800 (PST) Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com. [74.125.82.54]) by mx.google.com with ESMTPS id fw6si8462933wjb.140.2014.11.06.06.37.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Nov 2014 06:37:23 -0800 (PST) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 74.125.82.54 as permitted sender) client-ip=74.125.82.54; Received: by mail-wg0-f54.google.com with SMTP id n12so1352440wgh.27 for ; Thu, 06 Nov 2014 06:37:23 -0800 (PST) X-Received: by 10.180.208.101 with SMTP id md5mr42474535wic.9.1415284643557; Thu, 06 Nov 2014 06:37:23 -0800 (PST) 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 pc8sm8029386wjb.36.2014.11.06.06.37.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Nov 2014 06:37:22 -0800 (PST) From: Daniel Thompson To: Jason Wessel Cc: Anton Vorontsov , kgdb-bugreport@lists.sourceforge.net, linux-kernel@vger.kernel.org, Andrew Morton , Greg Kroah-Hartman , Jiri Slaby , Steven Rostedt , Frederic Weisbecker , Ingo Molnar , Colin Cross , kernel-team@android.com, patches@linaro.org, linaro-kernel@lists.linaro.org, John Stultz , Sumit Semwal , Daniel Thompson Subject: [RESEND PATCH v5 3.18-rc3 1/8] kdb: Remove currently unused kdbtab_t->cmd_flags Date: Thu, 6 Nov 2014 14:36:40 +0000 Message-Id: <1415284607-7628-2-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1415284607-7628-1-git-send-email-daniel.thompson@linaro.org> References: <1415284607-7628-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.217.179 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 --- 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 379650b..cc02aa2 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? */