vfio-mdev: remove some dead code
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 7 Jan 2017 06:30:08 +0000 (09:30 +0300)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 11 Jan 2017 19:12:37 +0000 (12:12 -0700)
commit73da4268fdbae972f617946d1c690f2136964802
tree8a7c3341dd0456146c5e93d91a3dbd8b33f7b30a
parent5c677869e0abbffbade2cfd82d46d0eebe823f34
vfio-mdev: remove some dead code

We set info.count to 1 in mtty_get_irq_info() so static checkers
complain that, "Why do we have impossible conditions?"  The answer is
that it seems to be left over dead code that can be safely removed.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Kirti Wankhede <kwankhede@nvidia.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
samples/vfio-mdev/mtty.c