remove mca_is_adapter_used()

Remove the no longer used mca_is_adapter_used().

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
此提交包含在:
Adrian Bunk
2008-04-29 00:59:02 -07:00
提交者 Linus Torvalds
父節點 3202e1811f
當前提交 58b250daff
共有 2 個檔案被更改,包括 0 行新增19 行删除

查看文件

@@ -281,24 +281,6 @@ void mca_set_adapter_name(int slot, char* name)
}
EXPORT_SYMBOL(mca_set_adapter_name);
/**
* mca_is_adapter_used - check if claimed by driver
* @slot: slot to check
*
* Returns 1 if the slot has been claimed by a driver
*/
int mca_is_adapter_used(int slot)
{
struct mca_device *mca_dev = mca_find_device_by_slot(slot);
if(!mca_dev)
return 0;
return mca_device_claimed(mca_dev);
}
EXPORT_SYMBOL(mca_is_adapter_used);
/**
* mca_mark_as_used - claim an MCA device
* @slot: slot to claim