Skip to content

Commit

Permalink
lots of trailing whitespace removed.
Browse files Browse the repository at this point in the history
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
gregkh committed Sep 28, 2009
1 parent 684a026 commit f74441f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions devtree.c
Expand Up @@ -74,7 +74,7 @@ void devtree_markdeleted(void)
{
struct usbbusnode *bus;
struct list_head *list;

for(list = usbbuslist.next; list != &usbbuslist; list = list->next) {
bus = list_entry(list, struct usbbusnode, list);
markdel(&bus->childlist);
Expand All @@ -85,7 +85,7 @@ struct usbbusnode *devtree_findbus(unsigned int busn)
{
struct usbbusnode *bus;
struct list_head *list;

for(list = usbbuslist.next; list != &usbbuslist; list = list->next) {
bus = list_entry(list, struct usbbusnode, list);
if (bus->busnum == busn)
Expand Down Expand Up @@ -163,7 +163,7 @@ void devtree_parsedevfile(int fd)
speed = 1;
else if (strstr(start, "Spd=12"))
speed = 2;
else
else
speed = 0;
break;

Expand Down
2 changes: 1 addition & 1 deletion list.h
Expand Up @@ -25,7 +25,7 @@ struct list_head {
} while (0)

/*
* Insert a new entry between two known consecutive entries.
* Insert a new entry between two known consecutive entries.
*
* This is only for internal list manipulation where we know
* the prev/next entries already!
Expand Down
8 changes: 4 additions & 4 deletions names.c
Expand Up @@ -410,7 +410,7 @@ static int new_genericstrtable(struct genericstrtable *t[HASHSZ], const char *na
{
struct genericstrtable *g;
unsigned int h = hashnum(index);

for (g = t[h]; g; g = g->next)
if (g->num == index)
return -1;
Expand Down Expand Up @@ -465,7 +465,7 @@ static int new_countrycode(const char *name, unsigned int countrycode)

/* ---------------------------------------------------------------------- */

#define DBG(x)
#define DBG(x)

static void parse(usb_file f)
{
Expand Down Expand Up @@ -789,7 +789,7 @@ static void parse(usb_file f)
DBG(printf("line %5u Report type %02x %s\n", linectr, u, cp));
continue;

}
}
fprintf(stderr, "Unknown line at line %u\n", linectr);
}
}
Expand All @@ -799,7 +799,7 @@ static void parse(usb_file f)
int names_init(char *n)
{
usb_file f;

if (!(f = usb_fopen(n, "r"))) {
return errno;
}
Expand Down

0 comments on commit f74441f

Please sign in to comment.