Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1265138

[PATCH] staging: lustre: lproc_mgc: Remove unused function mgc_ir_state_seq_show

Path csiph.com!goblin3!goblin1!goblin2!goblin.stu.neva.ru!bcyclone02.am1.xlned.com!bcyclone02.am1.xlned.com!newsreader4.netcologne.de!news.netcologne.de!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feeder.erje.net!1.eu.feeder.erje.net!nntpspool01.opticnetworks.net!aioe.org!bofh.it!news.nic.it!robomod
From Shivani Bhardwaj <shivanib134@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] staging: lustre: lproc_mgc: Remove unused function mgc_ir_state_seq_show
Date Sun, 08 Nov 2015 18:10:02 +0100
Message-ID <qsBDA-2Wb-17@gated-at.bofh.it> (permalink)
X-Original-To gregkh@linuxfoundation.org
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=+VyVK7wYI2xrQv/S+Xwuh5ZgNWVS5Bq669luTMthkKM=; b=eICHut1m+OiIvbq97qR4xNf00s+weGA7hSpUGPcPLZ9XYlkd2MdJhVxqBoUJE492Ou ZaC8jCtBiHAc7/G0Ae4ebxPVbg1BueHjuWKKy0fpOV5+yGXrV3AbrLj9Jye5LOiXv6QY 8VtpiCQhy3WnkML5vwLGgsBmDOSrURIOySQYBeoqmfltkt/0S21Y7gbr5WGP1jXQcIer 4CjZp96/JbRo0ERQzvZ+q/tWLxhN6kpvIPDukHVPnoU2d03ZWcyp29NMIjDykvrNn06V gQ3QVl5GDXVVWi2I2X01SkOxU2EIcFX6Q8wMPrPMqbTLJon8r9ktv/tmvVay8836YY8O rjcQ==
X-Received by 10.28.11.13 with SMTP id 13mr20615423wml.4.1447002258369; Sun, 08 Nov 2015 09:04:18 -0800 (PST)
X-Mailer git-send-email 2.1.0
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 32
Organization linux.* mail to news gateway
X-Original-Cc andreas.dilger@intel.com, oleg.drokin@intel.com, lustre-devel@lists.lustre.org, linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org
X-Original-Date Sun, 8 Nov 2015 22:33:46 +0530
X-Original-Message-ID <1447002226-4462-1-git-send-email-shivanib134@gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
X-Received-Bytes 2933
X-Received-Body-CRC 1570227164
Xref csiph.com linux.kernel:1265138

Show key headers only | View raw


Remove the function mgc_ir_state_seq_show() as it is not
referenced/called anywhere.

Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
---
 drivers/staging/lustre/lustre/mgc/lproc_mgc.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/staging/lustre/lustre/mgc/lproc_mgc.c b/drivers/staging/lustre/lustre/mgc/lproc_mgc.c
index 8d5bc5a..ad6a7d9 100644
--- a/drivers/staging/lustre/lustre/mgc/lproc_mgc.c
+++ b/drivers/staging/lustre/lustre/mgc/lproc_mgc.c
@@ -48,11 +48,6 @@ LPROC_SEQ_FOPS_RO_TYPE(mgc, state);
 
 LPROC_SEQ_FOPS_WR_ONLY(mgc, ping);
 
-static int mgc_ir_state_seq_show(struct seq_file *m, void *v)
-{
-	return lprocfs_mgc_rd_ir_state(m, m->private);
-}
-
 LPROC_SEQ_FOPS_RO(mgc_ir_state);
 
 static struct lprocfs_vars lprocfs_mgc_obd_vars[] = {
-- 
2.1.0

--
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/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] staging: lustre: lproc_mgc: Remove unused function mgc_ir_state_seq_show Shivani Bhardwaj <shivanib134@gmail.com> - 2015-11-08 18:10 +0100
  Re: [PATCH] staging: lustre: lproc_mgc: Remove unused function mgc_ir_state_seq_show Shivani Bhardwaj <shivanib134@gmail.com> - 2015-11-08 18:20 +0100

csiph-web