Skip to content

Commit

Permalink
[NET] APPLETALK: Fix whitespace errors.
Browse files Browse the repository at this point in the history
Signed-off-by: YOSHIFUJI Hideaki <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
yoshfuji authored and David S. Miller committed Feb 11, 2007
1 parent 122952f commit ed4477b
Show file tree
Hide file tree
Showing 4 changed files with 121 additions and 121 deletions.
14 changes: 7 additions & 7 deletions net/appletalk/aarp.c
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ struct aarp_iter_state {

/*
* Get the aarp entry that is in the chain described
* by the iterator.
* by the iterator.
* If pos is set then skip till that index.
* pos = 1 is the first entry
*/
Expand All @@ -905,7 +905,7 @@ static struct aarp_entry *iter_next(struct aarp_iter_state *iter, loff_t *pos)
struct aarp_entry **table = iter->table;
loff_t off = 0;
struct aarp_entry *entry;

rescan:
while(ct < AARP_HASH_SIZE) {
for (entry = table[ct]; entry; entry = entry->next) {
Expand Down Expand Up @@ -950,9 +950,9 @@ static void *aarp_seq_next(struct seq_file *seq, void *v, loff_t *pos)
++*pos;

/* first line after header */
if (v == SEQ_START_TOKEN)
if (v == SEQ_START_TOKEN)
entry = iter_next(iter, NULL);

/* next entry in current bucket */
else if (entry->next)
entry = entry->next;
Expand Down Expand Up @@ -986,7 +986,7 @@ static int aarp_seq_show(struct seq_file *seq, void *v)
unsigned long now = jiffies;

if (v == SEQ_START_TOKEN)
seq_puts(seq,
seq_puts(seq,
"Address Interface Hardware Address"
" Expires LastSend Retry Status\n");
else {
Expand Down Expand Up @@ -1014,7 +1014,7 @@ static int aarp_seq_show(struct seq_file *seq, void *v)
: (iter->table == unresolved) ? "unresolved"
: (iter->table == proxies) ? "proxies"
: "unknown");
}
}
return 0;
}

Expand All @@ -1030,7 +1030,7 @@ static int aarp_seq_open(struct inode *inode, struct file *file)
struct seq_file *seq;
int rc = -ENOMEM;
struct aarp_iter_state *s = kmalloc(sizeof(*s), GFP_KERNEL);

if (!s)
goto out;

Expand Down
2 changes: 1 addition & 1 deletion net/appletalk/atalk_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ int __init atalk_proc_init(void)
p->proc_fops = &atalk_seq_socket_fops;

p = create_proc_entry("arp", S_IRUGO, atalk_proc_dir);
if (!p)
if (!p)
goto out_arp;
p->proc_fops = &atalk_seq_arp_fops;

Expand Down
Loading

0 comments on commit ed4477b

Please sign in to comment.