RDMA/cxgb3: Remove a set-but-not-used variable
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Reviewed-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
committed by
Doug Ledford
parent
90a6b76b2d
commit
17e4e543aa
@@ -1760,8 +1760,8 @@ static void ep_timeout(unsigned long arg)
|
|||||||
|
|
||||||
int iwch_reject_cr(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len)
|
int iwch_reject_cr(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len)
|
||||||
{
|
{
|
||||||
int err;
|
|
||||||
struct iwch_ep *ep = to_ep(cm_id);
|
struct iwch_ep *ep = to_ep(cm_id);
|
||||||
|
|
||||||
pr_debug("%s ep %p tid %u\n", __func__, ep, ep->hwtid);
|
pr_debug("%s ep %p tid %u\n", __func__, ep, ep->hwtid);
|
||||||
|
|
||||||
if (state_read(&ep->com) == DEAD) {
|
if (state_read(&ep->com) == DEAD) {
|
||||||
@@ -1772,8 +1772,8 @@ int iwch_reject_cr(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len)
|
|||||||
if (mpa_rev == 0)
|
if (mpa_rev == 0)
|
||||||
abort_connection(ep, NULL, GFP_KERNEL);
|
abort_connection(ep, NULL, GFP_KERNEL);
|
||||||
else {
|
else {
|
||||||
err = send_mpa_reject(ep, pdata, pdata_len);
|
send_mpa_reject(ep, pdata, pdata_len);
|
||||||
err = iwch_ep_disconnect(ep, 0, GFP_KERNEL);
|
iwch_ep_disconnect(ep, 0, GFP_KERNEL);
|
||||||
}
|
}
|
||||||
put_ep(&ep->com);
|
put_ep(&ep->com);
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user