]> git.baikalelectronics.ru Git - kernel.git/commit
procfs: remove unused variable
authorArnd Bergmann <arnd@arndb.de>
Wed, 13 Sep 2017 23:28:17 +0000 (16:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 14 Sep 2017 01:53:15 +0000 (18:53 -0700)
commit29a8d24c12b03febc6069402397e3379412d2b05
tree6e5dd297dd71a8536dd9742227ec9f4c28a96adc
parent70ec7ecd8382e1ead99a8157a4c62c129129c16a
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]

Link: http://lkml.kernel.org/r/20170911200231.3171415-1-arnd@arndb.de
Fixes: 42b875a59b81 ("fs, proc: remove priv argument from is_stack")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/task_nommu.c