Skip to content

Commit

Permalink
Cleanup whitespace from *.c and *.h files
Browse files Browse the repository at this point in the history
- Trim trailing whitespace
- Remove spaces from the middle of tab sequences
- Remove trailing blank lines
- Squeeze double-blank lines into a single one
  • Loading branch information
filbranden committed Jun 15, 2018
1 parent c1f09f9 commit 8a2311a
Show file tree
Hide file tree
Showing 31 changed files with 301 additions and 404 deletions.
2 changes: 0 additions & 2 deletions affinity.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ affinity_class(struct bitmask *mask, char *cls, const char *dev)
return 0;
}


/* Turn file (or device node) into class name */
static int affinity_file(struct bitmask *mask, char *cls, const char *file)
{
Expand Down Expand Up @@ -346,4 +345,3 @@ hidden int resolve_affinity(const char *id, struct bitmask *mask)
}
return NO_IO_AFFINITY;
}

1 change: 0 additions & 1 deletion affinity.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ enum {
};

int resolve_affinity(const char *id, struct bitmask *mask);

2 changes: 1 addition & 1 deletion distance.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ static int read_distance_table(void)
}
distance_numnodes = maxnode;
distance_table = table;
return 0;
return 0;
}

int numa_distance(int a, int b)
Expand Down
Loading

0 comments on commit 8a2311a

Please sign in to comment.