Skip to contentSkip to conversation

procfs-remove-unused-variable.patch removed from -mm tree

merged [email protected] 1 participant 1 message Sep 15, 2017

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: procfs: remove unused variable
has been removed from the -mm tree. Its filename was
procfs-remove-unused-variable.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Arnd Bergmann <[email protected]>
Subject: procfs: remove unused variable

In NOMMU configurations, we get a warning about a variable that has become unused:

fs/proc/task_nommu.c: In function 'nommu_vma_show':
fs/proc/task_nommu.c:148:28: error: unused variable 'priv' [-Werror=unused-variable]

Fixes 1240ea0dc3bb ("fs, proc: remove priv argument from is_stack")

---

 fs/proc/task_nommu.c |    1 -
 1 file changed, 1 deletion(-)
fs/proc/task_nommu.c renamed from fs/proc/task_nommu.c~procfs-remove-unused-variable +0 -1
diff -puN fs/proc/task_nommu.c~procfs-remove-unused-variable fs/proc/task_nommu.c
@@ -145,7 +145,6 @@ static int nommu_vma_show(struct seq_fil
 			  int is_pid)
 {
 	struct mm_struct *mm = vma->vm_mm;
-	struct proc_maps_private *priv = m->private;
 	unsigned long ino = 0;
 	struct file *file;
 	dev_t dev = 0;

_

Patches currently in -mm which might be from [email protected] are

iopoll-avoid-wint-in-bool-context-warning.patch