]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen/hvc: Collapse error logic.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 23 May 2012 16:53:11 +0000 (12:53 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Jun 2012 18:36:53 +0000 (11:36 -0700)
commit6a07cbc4ef9cea9f9eabc676fd6b8c03c11f51cc
tree7fc7336a2993ad8669269ebd908161a17ea7c0eb
parentebbd13c9d27ab013fdf7005829a80d504b0cb32e
xen/hvc: Collapse error logic.

commit 2e5ad6b9c45d43cc4e7b8ac5ded1c55a7c4a3893 upstream.

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

Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/hvc/hvc_xen.c