fs/proc/generic.c: switch to ida_simple_get/remove
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 10 Jul 2017 22:50:52 +0000 (15:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 10 Jul 2017 23:32:34 +0000 (16:32 -0700)
commitcde1b69389772ca8855fabdfe5d9ae9ba1d7d33a
treeace4c5512a210356e5fc128697af92c4e66d5d2f
parentb6d0f14abb7c1d9d522c064633c820aaeb9bbfbf
fs/proc/generic.c: switch to ida_simple_get/remove

The code can be much simplified by switching to ida_simple_get/remove.

Link: http://lkml.kernel.org/r/8d1cc9f7-5115-c9dc-028e-c0770b6bfe1f@gmail.com
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/generic.c