Skip to content

Commit

Permalink
[SCSI] cxgb3i: call ddp release function directly
Browse files Browse the repository at this point in the history
cxgb3i_ddp_cleanup just calls ddp_release directly so there is
no reason for the wrapper. This patch just renames ddp_release
to cxgb3i_ddp_cleanup and removes the old wrapper function.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
  • Loading branch information
Mike Christie authored and James Bottomley committed Apr 3, 2009
1 parent 0d0c27f commit 5b2639d
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions drivers/scsi/cxgb3i/cxgb3i_ddp.c
Original file line number Diff line number Diff line change
Expand Up @@ -587,12 +587,12 @@ int cxgb3i_adapter_ddp_info(struct t3cdev *tdev,
}

/**
* ddp_release - release the cxgb3 adapter's ddp resource
* cxgb3i_ddp_cleanup - release the cxgb3 adapter's ddp resource
* @tdev: t3cdev adapter
* release all the resource held by the ddp pagepod manager for a given
* adapter if needed
*/
static void ddp_release(struct t3cdev *tdev)
void cxgb3i_ddp_cleanup(struct t3cdev *tdev)
{
int i = 0;
struct cxgb3i_ddp_info *ddp = (struct cxgb3i_ddp_info *)tdev->ulp_iscsi;
Expand Down Expand Up @@ -714,11 +714,3 @@ void cxgb3i_ddp_init(struct t3cdev *tdev)
}
ddp_init(tdev);
}

/**
* cxgb3i_ddp_cleaup - clean up ddp function
*/
void cxgb3i_ddp_cleanup(struct t3cdev *tdev)
{
ddp_release(tdev);
}

0 comments on commit 5b2639d

Please sign in to comment.