From: adam radford Date: Thu, 12 May 2011 01:33:58 +0000 (-0700) Subject: [SCSI] megaraid_sas: Remove un-used function X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=70d031f36fa50a53128d0d2b5f95032cd534778b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [SCSI] megaraid_sas: Remove un-used function The following patch for megaraid_sas removes un-used function megasas_return_cmd_for_smid(). Signed-off-by: Adam Radford Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid_sas_fusion.c index 145a8cffb1fa..25dd5ce64d5e 100644 --- a/drivers/scsi/megaraid/megaraid_sas_fusion.c +++ b/drivers/scsi/megaraid/megaraid_sas_fusion.c @@ -695,22 +695,6 @@ fail_get_cmd: return ret; } -/* - * megasas_return_cmd_for_smid - Returns a cmd_fusion for a SMID - * @instance: Adapter soft state - * - */ -void -megasas_return_cmd_for_smid(struct megasas_instance *instance, u16 smid) -{ - struct fusion_context *fusion; - struct megasas_cmd_fusion *cmd; - - fusion = instance->ctrl_context; - cmd = fusion->cmd_list[smid - 1]; - megasas_return_cmd_fusion(instance, cmd); -} - /* * megasas_get_ld_map_info - Returns FW's ld_map structure * @instance: Adapter soft state