diff options
Diffstat (limited to 'drivers/scsi/cxgbi/cxgb4i/cxgb4i.c')
-rw-r--r-- | drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c index df176f0e5e60..8c3003b6d591 100644 --- a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c +++ b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | |||
@@ -1317,11 +1317,6 @@ static int init_act_open(struct cxgbi_sock *csk) | |||
1317 | cxgbi_sock_set_flag(csk, CTPF_HAS_ATID); | 1317 | cxgbi_sock_set_flag(csk, CTPF_HAS_ATID); |
1318 | cxgbi_sock_get(csk); | 1318 | cxgbi_sock_get(csk); |
1319 | 1319 | ||
1320 | n = dst_neigh_lookup(csk->dst, &csk->daddr.sin_addr.s_addr); | ||
1321 | if (!n) { | ||
1322 | pr_err("%s, can't get neighbour of csk->dst.\n", ndev->name); | ||
1323 | goto rel_resource; | ||
1324 | } | ||
1325 | csk->l2t = cxgb4_l2t_get(lldi->l2t, n, ndev, 0); | 1320 | csk->l2t = cxgb4_l2t_get(lldi->l2t, n, ndev, 0); |
1326 | if (!csk->l2t) { | 1321 | if (!csk->l2t) { |
1327 | pr_err("%s, cannot alloc l2t.\n", ndev->name); | 1322 | pr_err("%s, cannot alloc l2t.\n", ndev->name); |