diff options
Diffstat (limited to 'c/src/lib/libbsp/sparc/shared/drvmgr/get_resarray_count.c')
-rw-r--r-- | c/src/lib/libbsp/sparc/shared/drvmgr/get_resarray_count.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/drvmgr/get_resarray_count.c b/c/src/lib/libbsp/sparc/shared/drvmgr/get_resarray_count.c deleted file mode 100644 index 4099fa6b0d..0000000000 --- a/c/src/lib/libbsp/sparc/shared/drvmgr/get_resarray_count.c +++ /dev/null @@ -1,20 +0,0 @@ -/* Common driver configuration routines. - * - * COPYRIGHT (c) 2015. - * Cobham Gaisler. - * - * The license and distribution terms for this file may be - * found in found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#include <stdlib.h> -#include <drvmgr/bspcommon.h> - -int get_resarray_count(struct drvmgr_bus_res **array) -{ - int i = 0; - while (array[i] != NULL) - i++; - return i; -} |