diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-07-06 00:55:01 -0400 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-07-06 01:39:01 -0400 |
commit | bccea41ec02301a439a26e43fa49521ae8da4352 (patch) | |
tree | e1bf6a691accdaa82775d633e2060bb4f35f59dc | |
parent | f718c2efff0b0460e5335607a1c6caf620847680 (diff) |
ARC: fix unused var wanring
Fixes: 9bf39ab2adaf ("vfs: add file_path() helper")
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
-rw-r--r-- | arch/arc/kernel/troubleshoot.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arc/kernel/troubleshoot.c b/arch/arc/kernel/troubleshoot.c index 807f7d61d7a7..a6f91e88ce36 100644 --- a/arch/arc/kernel/troubleshoot.c +++ b/arch/arc/kernel/troubleshoot.c | |||
@@ -58,7 +58,6 @@ static void show_callee_regs(struct callee_regs *cregs) | |||
58 | 58 | ||
59 | static void print_task_path_n_nm(struct task_struct *tsk, char *buf) | 59 | static void print_task_path_n_nm(struct task_struct *tsk, char *buf) |
60 | { | 60 | { |
61 | struct path path; | ||
62 | char *path_nm = NULL; | 61 | char *path_nm = NULL; |
63 | struct mm_struct *mm; | 62 | struct mm_struct *mm; |
64 | struct file *exe_file; | 63 | struct file *exe_file; |