xen/hvc: Collapse error logic.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 23 May 2012 16:53:11 +0000 (12:53 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 24 May 2012 18:15:29 +0000 (14:15 -0400)
commit2e5ad6b9c45d43cc4e7b8ac5ded1c55a7c4a3893
treee6d9527fcf3e227e8a3f8e889bcce00fc11b46c4
parent68c2c39a76b094e9b2773e5846424ea674bf2c46
xen/hvc: Collapse error logic.

All of the error paths are doing the same logic. In which
case we might as well collapse them in one path.

CC: stable@kernel.org
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/tty/hvc/hvc_xen.c