staging: lustre: llite: remove unuse variables
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Wed, 6 May 2015 12:46:18 +0000 (18:16 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 May 2015 13:03:13 +0000 (15:03 +0200)
there variables were not used anywhere and was showing as build warning.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/file.c
drivers/staging/lustre/lustre/llite/llite_lib.c

index 702f62d44430a2e594a998db4c7f04663540948a..5c05f41d357518803d1752164c79e9fdfa6192d6 100644 (file)
@@ -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);
 
index c6611b11779c1e08b0c51706d88961cb89ede297..61acc70aaae4f3b28e355a187487ef677063fbae 100644 (file)
@@ -904,8 +904,6 @@ int ll_fill_super(struct super_block *sb, struct vfsmount *mnt)
        char  *dt = NULL, *md = NULL;
        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);
This page took 0.040399 seconds and 5 git commands to generate.