summaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2015-07-06 10:25:01 +0530
committerVineet Gupta <vgupta@synopsys.com>2015-07-06 11:09:01 +0530
commitbccea41ec02301a439a26e43fa49521ae8da4352 (patch)
treee1bf6a691accdaa82775d633e2060bb4f35f59dc /arch/arc
parentf718c2efff0b0460e5335607a1c6caf620847680 (diff)
downloadlinux-bccea41ec02301a439a26e43fa49521ae8da4352.tar.bz2
ARC: fix unused var wanring
Fixes: 9bf39ab2adaf ("vfs: add file_path() helper") Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc')
-rw-r--r--arch/arc/kernel/troubleshoot.c1
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)
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;