diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-29 03:59:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:06:01 -0400 |
commit | 58b250daff6a24518813975143c8433d9d5b684f (patch) | |
tree | c4225b8f2ffb0c9329aae24d1015a37a67f9a4fd /drivers/mca/mca-legacy.c | |
parent | 3202e1811fd312f3f32ddc8f526aa2691b64ec55 (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/mca-legacy.c')
-rw-r--r-- | drivers/mca/mca-legacy.c | 18 |
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) | |||
282 | EXPORT_SYMBOL(mca_set_adapter_name); | 282 | EXPORT_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 | |||
291 | int 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 | } | ||
300 | EXPORT_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 |