]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
i40iw: Remove unnecessary check for moving CQ head
authorMustafa Ismail <mustafa.ismail@intel.com>
Tue, 12 Jul 2016 16:48:44 +0000 (11:48 -0500)
committerDoug Ledford <dledford@redhat.com>
Tue, 2 Aug 2016 18:17:38 +0000 (14:17 -0400)
commitc5d057d32bb563d105450459d5f4cae2da466038
tree08d5f6e41e4c56b4f5b78d5cc2408c31683d3b32
parentb494c3e6777cc1b8100bf7abbaf3b1eca4559c26
i40iw: Remove unnecessary check for moving CQ head

In i40iw_cq_poll_completion, we always move the tail. So there is
no reason to check for overflow everytime we move the head.

Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_d.h
drivers/infiniband/hw/i40iw/i40iw_uk.c