* [PATCH] Staging: lustre: llite: Drop unneeded variables
@ 2015-05-06 14:59 Julia Lawall
2015-05-10 13:04 ` Greg Kroah-Hartman
0 siblings, 1 reply; 2+ messages in thread
From: Julia Lawall @ 2015-05-06 14:59 UTC (permalink / raw)
To: Oleg Drokin, Stephen Rothwell
Cc: kernel-janitors, Andreas Dilger, Greg Kroah-Hartman, HPDD-discuss,
devel, linux-kernel
Drop variables made unnecessary by conversion of obd free functions
to kfree.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
---
drivers/staging/lustre/lustre/llite/file.c | 2 --
drivers/staging/lustre/lustre/llite/llite_lib.c | 1 -
2 files changed, 3 deletions(-)
diff --git a/drivers/staging/lustre/lustre/llite/file.c b/drivers/staging/lustre/lustre/llite/file.c
index 702f62d..5c05f41 100644
--- a/drivers/staging/lustre/lustre/llite/file.c
+++ b/drivers/staging/lustre/lustre/llite/file.c
@@ -3239,8 +3239,6 @@ void ll_iocontrol_unregister(void *magic)
down_write(&llioc.ioc_sem);
list_for_each_entry(tmp, &llioc.ioc_head, iocd_list) {
if (tmp == magic) {
- unsigned int size = tmp->iocd_size;
-
list_del(&tmp->iocd_list);
up_write(&llioc.ioc_sem);
diff --git a/drivers/staging/lustre/lustre/llite/llite_lib.c b/drivers/staging/lustre/lustre/llite/llite_lib.c
index c6611b1..dd62e33 100644
--- a/drivers/staging/lustre/lustre/llite/llite_lib.c
+++ b/drivers/staging/lustre/lustre/llite/llite_lib.c
@@ -905,7 +905,6 @@ int ll_fill_super(struct super_block *sb, struct vfsmount *mnt)
char *profilenm = get_profile_name(sb);
struct config_llog_instance *cfg;
/* %p for void* in printf needs 16+2 characters: 0xffffffffffffffff */
- const int instlen = sizeof(cfg->cfg_instance) * 2 + 2;
int err;
CDEBUG(D_VFSTRACE, "VFS Op: sb %p\n", sb);
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] Staging: lustre: llite: Drop unneeded variables
2015-05-06 14:59 [PATCH] Staging: lustre: llite: Drop unneeded variables Julia Lawall
@ 2015-05-10 13:04 ` Greg Kroah-Hartman
0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2015-05-10 13:04 UTC (permalink / raw)
To: Julia Lawall
Cc: Oleg Drokin, Stephen Rothwell, devel, Andreas Dilger,
kernel-janitors, linux-kernel, HPDD-discuss
On Wed, May 06, 2015 at 04:59:42PM +0200, Julia Lawall wrote:
> Drop variables made unnecessary by conversion of obd free functions
> to kfree.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Someone else sent this a few hours before you did :(
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-10 21:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-06 14:59 [PATCH] Staging: lustre: llite: Drop unneeded variables Julia Lawall
2015-05-10 13:04 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox