aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/cls_api.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2020-05-28 12:49:57 +0000
committerDavid S. Miller <[email protected]>2020-06-01 18:32:59 +0000
commitbda6752f3de99e9d765638b89aacfb11c07cee06 (patch)
tree6a6d8717bb930c70505d6dc255a2d58a12939e29 /net/sched/cls_api.c
parentMerge branch 'Fix-infinite-loop-in-bridge-and-vxlan-modules' (diff)
downloadkernel-bda6752f3de99e9d765638b89aacfb11c07cee06.tar.gz
kernel-bda6752f3de99e9d765638b89aacfb11c07cee06.zip
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sched/cls_api.c')
0 files changed, 0 insertions, 0 deletions