aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mca
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-29 03:59:02 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 11:06:01 -0400
commit58b250daff6a24518813975143c8433d9d5b684f (patch)
treec4225b8f2ffb0c9329aae24d1015a37a67f9a4fd /drivers/mca
parent3202e1811fd312f3f32ddc8f526aa2691b64ec55 (diff)
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>
Diffstat (limited to 'drivers/mca')
-rw-r--r--drivers/mca/mca-legacy.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/mca/mca-legacy.c b/drivers/mca/mca-legacy.c
index 0c7bfa74c8ef..494f0c2001f5 100644
--- a/drivers/mca/mca-legacy.c
+++ b/drivers/mca/mca-legacy.c
@@ -282,24 +282,6 @@ void mca_set_adapter_name(int slot, char* name)
282EXPORT_SYMBOL(mca_set_adapter_name); 282EXPORT_SYMBOL(mca_set_adapter_name);
283 283
284/** 284/**
285 * mca_is_adapter_used - check if claimed by driver
286 * @slot: slot to check
287 *
288 * Returns 1 if the slot has been claimed by a driver
289 */
290
291int mca_is_adapter_used(int slot)
292{
293 struct mca_device *mca_dev = mca_find_device_by_slot(slot);
294
295 if(!mca_dev)
296 return 0;
297
298 return mca_device_claimed(mca_dev);
299}
300EXPORT_SYMBOL(mca_is_adapter_used);
301
302/**
303 * mca_mark_as_used - claim an MCA device 285 * mca_mark_as_used - claim an MCA device
304 * @slot: slot to claim 286 * @slot: slot to claim
305 * FIXME: should we make this threadsafe 287 * FIXME: should we make this threadsafe