qed: Fix an error code qed_ll2_start_xmit()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 17 Dec 2018 07:05:13 +0000 (10:05 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Dec 2018 23:43:44 +0000 (15:43 -0800)
commitf07d4276892d97671e880190ff195a288b2d8d92
treee90ed74fb6b54e556e0e570587ce2c66d6ca731d
parent006791772084383de779ef29f2e06f3a6e111e7d
qed: Fix an error code qed_ll2_start_xmit()

We accidentally deleted the code to set "rc = -ENOMEM;" and this patch
adds it back.

Fixes: d2201a21598a ("qed: No need for LL2 frags indication")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_ll2.c