ib_srpt: Source code formatting cleanup.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2951 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-12-07 09:25:23 +00:00
parent 7e158b0c68
commit 1fe5da1dea
+2 -5
View File
@@ -3566,9 +3566,8 @@ static void srpt_add_one(struct ib_device *device)
if (IS_ERR(sdev->srq))
goto err_mr;
TRACE_DBG("%s: create SRQ #wr= %d max_allow=%d dev= %s",
__func__, sdev->srq_size,
sdev->dev_attr.max_srq_wr, device->name);
TRACE_DBG("%s: create SRQ #wr= %d max_allow=%d dev= %s", __func__,
sdev->srq_size, sdev->dev_attr.max_srq_wr, device->name);
if (!srpt_service_guid)
srpt_service_guid = be64_to_cpu(device->node_guid);
@@ -3603,7 +3602,6 @@ static void srpt_add_one(struct ib_device *device)
if (!sdev->ioctx_ring)
goto err_event;
INIT_LIST_HEAD(&sdev->rch_list);
spin_lock_init(&sdev->spinlock);
@@ -3638,7 +3636,6 @@ out:
ib_set_client_data(device, &srpt_client, sdev);
TRACE_EXIT();
return;
err_ring: