Skip to content

Commit

Permalink
Remove unused usage functions
Browse files Browse the repository at this point in the history
I don't think util.c needs this anymore?
  • Loading branch information
Andi Kleen committed Aug 25, 2022
1 parent 248c294 commit 7182dd6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
6 changes: 0 additions & 6 deletions test/node-parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
#include "numa.h"
#include "util.h"

/* For util.c. Fixme. */
static void usage(void)
{
exit(1);
}

int main(int ac, char **av)
{
int err = 0;
Expand Down
4 changes: 0 additions & 4 deletions test/prefered.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@

extern void printmask(char *name, struct bitmask *mask);

static void usage(void)
{
}

int main(void)
{
int max = numa_max_node();
Expand Down
6 changes: 0 additions & 6 deletions test/tbitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@
#include "numa.h"
#include "util.h"

/* For util.c. Fixme. */
static void usage(void)
{
exit(1);
}

#define ALIGN(x,a) (((x)+(a)-1)&~((a)-1))

#define test_bit(i,p) ((p)[(i) / BITS_PER_LONG] & (1UL << ((i)%BITS_PER_LONG)))
Expand Down

0 comments on commit 7182dd6

Please sign in to comment.