diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ehea/ehea_qmr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ehea/ehea_qmr.c b/drivers/net/ehea/ehea_qmr.c index 3c0ec82f36fb..e8c952b61662 100644 --- a/drivers/net/ehea/ehea_qmr.c +++ b/drivers/net/ehea/ehea_qmr.c | |||
@@ -182,7 +182,7 @@ struct ehea_cq *ehea_create_cq(struct ehea_adapter *adapter, | |||
182 | goto out_kill_hwq; | 182 | goto out_kill_hwq; |
183 | } | 183 | } |
184 | } else { | 184 | } else { |
185 | if ((hret != H_PAGE_REGISTERED) || (!vpage)) { | 185 | if (hret != H_PAGE_REGISTERED) { |
186 | ehea_error("CQ: registration of page failed " | 186 | ehea_error("CQ: registration of page failed " |
187 | "hret=%lx\n", hret); | 187 | "hret=%lx\n", hret); |
188 | goto out_kill_hwq; | 188 | goto out_kill_hwq; |
@@ -303,7 +303,7 @@ struct ehea_eq *ehea_create_eq(struct ehea_adapter *adapter, | |||
303 | goto out_kill_hwq; | 303 | goto out_kill_hwq; |
304 | 304 | ||
305 | } else { | 305 | } else { |
306 | if ((hret != H_PAGE_REGISTERED) || (!vpage)) | 306 | if (hret != H_PAGE_REGISTERED) |
307 | goto out_kill_hwq; | 307 | goto out_kill_hwq; |
308 | 308 | ||
309 | } | 309 | } |