misc: cxl: clean up afu_read_config()
authorVladimir Zapolskiy <vz@mleia.com>
Sun, 26 Jul 2015 21:18:46 +0000 (00:18 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 20:53:39 +0000 (13:53 -0700)
commitacb921a5a1e5fb2b864be25caf7317531f91a832
treec9f0d9414a08489a5b94606712c6f01aaf5351c7
parent594069bc3d333101fb187fc708d75d3ef491869a
misc: cxl: clean up afu_read_config()

The sanity checks for overflow are not needed, because this is done on
caller side in fs/sysfs/file.c

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Cc: Ian Munsie <imunsie@au1.ibm.com>
Acked-by: Michael Neuling <mikey@neuling.org>
Reviewed-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/cxl/sysfs.c