diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2009-04-01 14:11:28 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-04-03 10:23:13 -0400 |
commit | 5b2639d59afe0a30e1b955b23c52ee9099888058 (patch) | |
tree | dfabb47beab9b323d60692b7f2765d63867c55d6 | |
parent | 0d0c27f2e83619083280c4c4f1bc33f2b58132ac (diff) |
[SCSI] cxgb3i: call ddp release function directly
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>
-rw-r--r-- | drivers/scsi/cxgb3i/cxgb3i_ddp.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/drivers/scsi/cxgb3i/cxgb3i_ddp.c b/drivers/scsi/cxgb3i/cxgb3i_ddp.c index 275d2da443be..d06a661c209f 100644 --- a/drivers/scsi/cxgb3i/cxgb3i_ddp.c +++ b/drivers/scsi/cxgb3i/cxgb3i_ddp.c | |||
@@ -587,12 +587,12 @@ int cxgb3i_adapter_ddp_info(struct t3cdev *tdev, | |||
587 | } | 587 | } |
588 | 588 | ||
589 | /** | 589 | /** |
590 | * ddp_release - release the cxgb3 adapter's ddp resource | 590 | * cxgb3i_ddp_cleanup - release the cxgb3 adapter's ddp resource |
591 | * @tdev: t3cdev adapter | 591 | * @tdev: t3cdev adapter |
592 | * release all the resource held by the ddp pagepod manager for a given | 592 | * release all the resource held by the ddp pagepod manager for a given |
593 | * adapter if needed | 593 | * adapter if needed |
594 | */ | 594 | */ |
595 | static void ddp_release(struct t3cdev *tdev) | 595 | void cxgb3i_ddp_cleanup(struct t3cdev *tdev) |
596 | { | 596 | { |
597 | int i = 0; | 597 | int i = 0; |
598 | struct cxgb3i_ddp_info *ddp = (struct cxgb3i_ddp_info *)tdev->ulp_iscsi; | 598 | struct cxgb3i_ddp_info *ddp = (struct cxgb3i_ddp_info *)tdev->ulp_iscsi; |
@@ -714,11 +714,3 @@ void cxgb3i_ddp_init(struct t3cdev *tdev) | |||
714 | } | 714 | } |
715 | ddp_init(tdev); | 715 | ddp_init(tdev); |
716 | } | 716 | } |
717 | |||
718 | /** | ||
719 | * cxgb3i_ddp_cleaup - clean up ddp function | ||
720 | */ | ||
721 | void cxgb3i_ddp_cleanup(struct t3cdev *tdev) | ||
722 | { | ||
723 | ddp_release(tdev); | ||
724 | } | ||