autofs: refactor ioctl fn vector in iookup_dev_ioctl()
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 10 Sep 2016 10:34:26 +0000 (20:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sat, 10 Sep 2016 10:34:26 +0000 (20:34 +1000)
commit944844ee5e8cb6f39d186e7a9143b56f626e0353
treeef452cca5f0b85dddd1fcfab4ed06255a626701e
parent3f2da634bef3ee9c9f1baf202ecd40f04405e353
autofs: refactor ioctl fn vector in iookup_dev_ioctl()

cmd part of this struct is the same as an index of itself within
_ioctls[]. In fact this cmd is unused, so we can drop this part.

Link: http://lkml.kernel.org/r/20160831033414.9910.66697.stgit@pluto.themaw.net
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/autofs4/dev-ioctl.c
This page took 0.026243 seconds and 5 git commands to generate.