diff options
Diffstat (limited to 'drivers/scsi/cxgb3i')
-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 | } | ||