浏览代码

ARC: fix unused var wanring

Fixes: 9bf39ab2adaf ("vfs: add file_path() helper")
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Vineet Gupta 10 年之前
父节点
当前提交
bccea41ec0
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      arch/arc/kernel/troubleshoot.c

+ 0 - 1
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;