summaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2015-07-06 06:55:01 +0200
committerVineet Gupta <vgupta@synopsys.com>2015-07-06 07:39:01 +0200
commitbccea41ec02301a439a26e43fa49521ae8da4352 (patch)
treee1bf6a691accdaa82775d633e2060bb4f35f59dc /arch/arc
parentARC: Don't memzero twice in dma_alloc_coherent for __GFP_ZERO (diff)
downloadlinux-bccea41ec02301a439a26e43fa49521ae8da4352.tar.xz
linux-bccea41ec02301a439a26e43fa49521ae8da4352.zip
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;