xen/pvcalls: remove redundant check for irq >= 0
authorColin Ian King <colin.king@canonical.com>
Fri, 3 Nov 2017 09:20:47 +0000 (09:20 +0000)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Fri, 3 Nov 2017 15:38:45 +0000 (11:38 -0400)
commit773aaadcd474d0a4f85915787118891d47b60983
tree64c7aa37f4d025fb830fa0f1dc39420067977fcc
parent95110ac88d5139c73eef6ede37eff23c4089f4f2
xen/pvcalls: remove redundant check for irq >= 0

This is a moot point, but irq is always less than zero at the label
out_error, so the check for irq >= 0 is redundant and can be removed.

Detected by CoverityScan, CID#1460371 ("Logically dead code")

Fixes: cb1c7d9bbc87 ("xen/pvcalls: implement connect command")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
drivers/xen/pvcalls-front.c