Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753238AbbKHRLl (ORCPT ); Sun, 8 Nov 2015 12:11:41 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:35406 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752859AbbKHRLi (ORCPT ); Sun, 8 Nov 2015 12:11:38 -0500 MIME-Version: 1.0 In-Reply-To: <1447002226-4462-1-git-send-email-shivanib134@gmail.com> References: <1447002226-4462-1-git-send-email-shivanib134@gmail.com> Date: Sun, 8 Nov 2015 22:41:36 +0530 Message-ID: Subject: Re: [PATCH] staging: lustre: lproc_mgc: Remove unused function mgc_ir_state_seq_show From: Shivani Bhardwaj To: Greg KH Cc: "Dilger, Andreas" , "Drokin, Oleg" , lustre-devel@lists.lustre.org, linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1266 Lines: 37 On Sun, Nov 8, 2015 at 10:33 PM, Shivani Bhardwaj wrote: > Remove the function mgc_ir_state_seq_show() as it is not > referenced/called anywhere. > > Signed-off-by: Shivani Bhardwaj > --- > 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 > I just found out that this is producing errors. Please do not consider this. Thank you Shivani -- 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/