提交 58b250da 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

remove mca_is_adapter_used()

Remove the no longer used mca_is_adapter_used().
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 3202e181
...@@ -281,24 +281,6 @@ void mca_set_adapter_name(int slot, char* name) ...@@ -281,24 +281,6 @@ void mca_set_adapter_name(int slot, char* name)
} }
EXPORT_SYMBOL(mca_set_adapter_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 * mca_mark_as_used - claim an MCA device
* @slot: slot to claim * @slot: slot to claim
......
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
extern int mca_find_adapter(int id, int start); extern int mca_find_adapter(int id, int start);
extern int mca_find_unused_adapter(int id, int start); extern int mca_find_unused_adapter(int id, int start);
extern int mca_is_adapter_used(int slot);
extern int mca_mark_as_used(int slot); extern int mca_mark_as_used(int slot);
extern void mca_mark_as_unused(int slot); extern void mca_mark_as_unused(int slot);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册