mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 20:51:27 +00:00
Removed some TRACE_ENTRY() / TRACE_EXIT() statements.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1434 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1944,8 +1944,6 @@ static int srpt_alloc_req_ring(struct srpt_rdma_ch *ch)
|
||||
{
|
||||
int res;
|
||||
|
||||
TRACE_ENTRY();
|
||||
|
||||
BUG_ON(!ch);
|
||||
BUG_ON(!ch->sport);
|
||||
BUG_ON(!ch->sport->sdev);
|
||||
@@ -1955,23 +1953,17 @@ static int srpt_alloc_req_ring(struct srpt_rdma_ch *ch)
|
||||
res = srpt_alloc_ioctx_ring(ch->sport->sdev, ch->req_ioctx_ring,
|
||||
ARRAY_SIZE(ch->req_ioctx_ring),
|
||||
SRPT_OP_TXR);
|
||||
|
||||
TRACE_EXIT_RES(res);
|
||||
return res;
|
||||
}
|
||||
|
||||
static void srpt_free_req_ring(struct srpt_rdma_ch *ch)
|
||||
{
|
||||
TRACE_ENTRY();
|
||||
|
||||
BUG_ON(!ch);
|
||||
BUG_ON(!ch->sport);
|
||||
BUG_ON(!ch->sport->sdev);
|
||||
|
||||
srpt_free_ioctx_ring(ch->sport->sdev, ch->req_ioctx_ring,
|
||||
ARRAY_SIZE(ch->req_ioctx_ring));
|
||||
|
||||
TRACE_EXIT();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user