summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-05-28 15:49:57 +0300
committerDavid S. Miller <davem@davemloft.net>2020-06-01 11:32:59 -0700
commitbda6752f3de99e9d765638b89aacfb11c07cee06 (patch)
tree6a6d8717bb930c70505d6dc255a2d58a12939e29 /include
parentd36ceaef8fc2e4ede43de425a7f503013b500e7f (diff)
cxgb4: cleanup error code in setup_sge_queues_uld()
The caller doesn't care about the error codes, they only check for zero vs non-zero. Still, it's better to preserve the negative error codes from alloc_uld_rxqs() instead of changing it to 1. We can also return directly if there is a failure. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions