libnvdimm: smatch cleanups in __nd_ioctl
authorDan Williams <dan.j.williams@intel.com>
Tue, 30 Jun 2015 18:10:09 +0000 (14:10 -0400)
committerDan Williams <dan.j.williams@intel.com>
Tue, 30 Jun 2015 18:10:09 +0000 (14:10 -0400)
commitaf834d457d9ed69e14836b63d0da198fdd2ec706
tree204f9f361185a277268d322e95e70ee6c33bd144
parent31f02455455d405320e2f749696bef4e02903b35
libnvdimm: smatch cleanups in __nd_ioctl

Drop use of access_ok() since we are already using copy_{to|from}_user()
which do their own access_ok().

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/bus.c