From patchwork Tue Aug 19 14:01:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 35592 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 28EB2201EF for ; Tue, 19 Aug 2014 14:02:13 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id g18sf43778047oah.2 for ; Tue, 19 Aug 2014 07:02:12 -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=c1w/fqKsBvNwTeyHeo62TbuCEvV0vnPIhZATibvqeJA=; b=OaYaPCP3thtZj6oSNjBx/anC6lIWyJs/3MeE/ghPbSSt6rpX6ALAIsMn4u8hYaBcFM 6acMfAyM57VBycBzIuAHfds+TOtsfMX1D7rtyDkHxEduLbwRikGE2RvPO7pCvCf9uP6q CiM71WBlyhCFzfEAD3ziQrJfBLZBTLgXQy5y6wcv5oIC9rjsMq3aVHsTRqMl1n1FEuKN E0vrTGOM+QBnykwMEw0oZaJJxQhMOvt1EAthRqMqdOs7UwjMOeu+M9xn9K0eypQgelZS JsjYE2/MF3eerT2j7Oe9rcsNKn2ypuThIrb+0mmaC4ZIORX26ahGqZtRkLpS++2e6tft Hf3Q== X-Gm-Message-State: ALoCoQmlR32NF1Im82sMye15puiycBoWOWNvHCwOcymKxR5tuXp4Yzph1fTNtwrHwJXH3FZfED6F X-Received: by 10.42.90.209 with SMTP id l17mr26731icm.34.1408456932667; Tue, 19 Aug 2014 07:02:12 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.89.231 with SMTP id v94ls1492238qgd.14.gmail; Tue, 19 Aug 2014 07:02:12 -0700 (PDT) X-Received: by 10.52.94.108 with SMTP id db12mr6940494vdb.8.1408456932563; Tue, 19 Aug 2014 07:02:12 -0700 (PDT) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id k6si3499417vcl.81.2014.08.19.07.02.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Aug 2014 07:02:12 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.176 as permitted sender) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id id10so7300394vcb.7 for ; Tue, 19 Aug 2014 07:02:12 -0700 (PDT) X-Received: by 10.220.118.136 with SMTP id v8mr548639vcq.50.1408456932452; Tue, 19 Aug 2014 07:02:12 -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 tc5csp241179vcb; Tue, 19 Aug 2014 07:02:11 -0700 (PDT) X-Received: by 10.180.79.72 with SMTP id h8mr6926799wix.55.1408456931452; Tue, 19 Aug 2014 07:02:11 -0700 (PDT) Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by mx.google.com with ESMTPS id s5si22537579wiv.46.2014.08.19.07.02.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Aug 2014 07:02:10 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 209.85.212.171 as permitted sender) client-ip=209.85.212.171; Received: by mail-wi0-f171.google.com with SMTP id hi2so5465190wib.4 for ; Tue, 19 Aug 2014 07:02:10 -0700 (PDT) X-Received: by 10.194.184.230 with SMTP id ex6mr49892106wjc.83.1408456930149; Tue, 19 Aug 2014 07:02:10 -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 do6sm48987446wib.22.2014.08.19.07.02.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Aug 2014 07:02:09 -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.17-rc1 1/8] kdb: Remove currently unused kdbtab_t->cmd_flags Date: Tue, 19 Aug 2014 15:01:55 +0100 Message-Id: <1408456922-12221-2-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1408456922-12221-1-git-send-email-daniel.thompson@linaro.org> References: <1399381429-16194-1-git-send-email-daniel.thompson@linaro.org> <1408456922-12221-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.176 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 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? */