summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/shared/amba/ambapp_count.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/sparc/shared/amba/ambapp_count.c')
-rw-r--r--c/src/lib/libbsp/sparc/shared/amba/ambapp_count.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/amba/ambapp_count.c b/c/src/lib/libbsp/sparc/shared/amba/ambapp_count.c
deleted file mode 100644
index 4e3a1dc102..0000000000
--- a/c/src/lib/libbsp/sparc/shared/amba/ambapp_count.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * AMBA Plug & Play routines
- *
- * COPYRIGHT (c) 2011
- * Aeroflex Gaisler
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE.
- */
-
-#include <ambapp.h>
-
-/* Get number of devices matching search options */
-int ambapp_dev_count(struct ambapp_bus *abus, unsigned int options,
- int vendor, int device)
-{
- int count = 10000;
-
- ambapp_for_each(abus, options, vendor, device, ambapp_find_by_idx, &count);
-
- return 10000 - count;
-}