summaryrefslogtreecommitdiffstats
path: root/arch/s390/include
diff options
context:
space:
mode:
authorPierre Morel <pmorel@linux.vnet.ibm.com>2015-10-26 11:13:18 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-11-03 14:40:50 +0100
commite510f681d27d402d74dc7b81e13db118e4180937 (patch)
tree696e10adb00c80651acf5ca890e6af8601e0f678 /arch/s390/include
parent8f0ba83178d4f3630687296c45d593326ec2d63d (diff)
downloadop-kernel-dev-e510f681d27d402d74dc7b81e13db118e4180937.zip
op-kernel-dev-e510f681d27d402d74dc7b81e13db118e4180937.tar.gz
s390/cio: de-duplicate subchannel validation
cio_validate_io_subchannel() and cio_validate_msg_subchannel() are identical, as the called functions already take care about the differences between subchannel types. Just inline the code into the only user, cio_validate_subchannel(), instead. Signed-off-by: Pierre Morel <pmorel@linux.vnet.ibm.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Acked-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud