uio: Reduce return paths from uio_write()
authorHamish Martin <hamish.martin@alliedtelesis.co.nz>
Mon, 14 May 2018 01:32:22 +0000 (13:32 +1200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2018 14:12:47 +0000 (16:12 +0200)
commit81daa406c2cc97d85eef9409400404efc2a3f756
tree2a081b93fac8b59482bc6481ea9854f0db908227
parentf59acbc5e0f7f90452efd4c3318d5e5ec042c3e0
uio: Reduce return paths from uio_write()

Drive all return paths for uio_write() through a single block at the
end of the function.

Signed-off-by: Hamish Martin <hamish.martin@alliedtelesis.co.nz>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/uio.c