summaryrefslogtreecommitdiffstats
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
parentf718c2efff0b0460e5335607a1c6caf620847680 (diff)
downloadop-kernel-dev-bccea41ec02301a439a26e43fa49521ae8da4352.zip
op-kernel-dev-bccea41ec02301a439a26e43fa49521ae8da4352.tar.gz
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.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;
OpenPOWER on IntegriCloud