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


Groups > linux.kernel > #1265138 > unrolled thread

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

Started byShivani Bhardwaj <shivanib134@gmail.com>
First post2015-11-08 18:10 +0100
Last post2015-11-08 18:20 +0100
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [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

#1265138 — [PATCH] staging: lustre: lproc_mgc: Remove unused function mgc_ir_state_seq_show

FromShivani Bhardwaj <shivanib134@gmail.com>
Date2015-11-08 18:10 +0100
Subject[PATCH] staging: lustre: lproc_mgc: Remove unused function mgc_ir_state_seq_show
Message-ID<qsBDA-2Wb-17@gated-at.bofh.it>
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/

[toc] | [next] | [standalone]


#1265140

FromShivani Bhardwaj <shivanib134@gmail.com>
Date2015-11-08 18:20 +0100
Message-ID<qsBNg-30c-1@gated-at.bofh.it>
In reply to#1265138
On Sun, Nov 8, 2015 at 10:33 PM, Shivani Bhardwaj <shivanib134@gmail.com> wrote:
> 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
>

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/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web