summaryrefslogtreecommitdiff
path: root/arch/arc/kernel
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2015-07-06 04:55:01 (GMT)
committerVineet Gupta <vgupta@synopsys.com>2015-07-06 05:39:01 (GMT)
commitbccea41ec02301a439a26e43fa49521ae8da4352 (patch)
treee1bf6a691accdaa82775d633e2060bb4f35f59dc /arch/arc/kernel
parentf718c2efff0b0460e5335607a1c6caf620847680 (diff)
downloadlinux-bccea41ec02301a439a26e43fa49521ae8da4352.tar.xz
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/kernel')
-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 807f7d6..a6f91e8 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;