IB/mlx4: Don't return errors from poll_cq
authorLeon Romanovsky <leonro@mellanox.com>
Sun, 28 Aug 2016 07:58:33 +0000 (10:58 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 2 Sep 2016 18:11:38 +0000 (14:11 -0400)
commit20697434b6ea9c6d895ebc5217a46f18850a109f
tree684483e6f2163f4cd5230fb6639ae9ddd392ceba
parent25b64fc5f2c0779b53ec155d69cc06b7cdc6e99f
IB/mlx4: Don't return errors from poll_cq

Remove returning errors from mlx4 poll_cq function. Polling CQ
operation in kernel never fails by Mellanox HCA architecture and
respective driver design.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/cq.c