ARC: fix unused var wanring
authorVineet Gupta <vgupta@synopsys.com>
Mon, 6 Jul 2015 04:55:01 +0000 (10:25 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 6 Jul 2015 05:39:01 +0000 (11:09 +0530)
Fixes: 9bf39ab2adaf ("vfs: add file_path() helper")
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/troubleshoot.c

index 807f7d61d7a7cf867bca011251729d1164bd3f33..a6f91e88ce36e3ea2a2c95d8eabdceffa48be7fc 100644 (file)
@@ -58,7 +58,6 @@ static void show_callee_regs(struct callee_regs *cregs)
 
 static void print_task_path_n_nm(struct task_struct *tsk, char *buf)
 {
-       struct path path;
        char *path_nm = NULL;
        struct mm_struct *mm;
        struct file *exe_file;