Commit 58b250daff6a24518813975143c8433d9d5b684f
Committed by
Linus Torvalds
1 parent
3202e1811f
Exists in
master
and in
39 other branches
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>
Showing 2 changed files with 0 additions and 19 deletions Side-by-side Diff
drivers/mca/mca-legacy.c
... | ... | @@ -282,24 +282,6 @@ |
282 | 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 | 285 | * mca_mark_as_used - claim an MCA device |
304 | 286 | * @slot: slot to claim |
305 | 287 | * FIXME: should we make this threadsafe |
include/linux/mca-legacy.h