[NET] NETROM: Fix whitespace errors.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
746fac4dcd
commit
5f8f59d664
@ -781,8 +781,8 @@ int nr_route_frame(struct sk_buff *skb, ax25_cb *ax25)
|
||||
|
||||
if (ax25 != NULL) {
|
||||
ret = nr_add_node(nr_src, "", &ax25->dest_addr, ax25->digipeat,
|
||||
ax25->ax25_dev->dev, 0,
|
||||
sysctl_netrom_obsolescence_count_initialiser);
|
||||
ax25->ax25_dev->dev, 0,
|
||||
sysctl_netrom_obsolescence_count_initialiser);
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
@ -861,8 +861,8 @@ static void *nr_node_start(struct seq_file *seq, loff_t *pos)
|
||||
struct nr_node *nr_node;
|
||||
struct hlist_node *node;
|
||||
int i = 1;
|
||||
|
||||
spin_lock_bh(&nr_node_list_lock);
|
||||
|
||||
spin_lock_bh(&nr_node_list_lock);
|
||||
if (*pos == 0)
|
||||
return SEQ_START_TOKEN;
|
||||
|
||||
@ -879,8 +879,8 @@ static void *nr_node_next(struct seq_file *seq, void *v, loff_t *pos)
|
||||
{
|
||||
struct hlist_node *node;
|
||||
++*pos;
|
||||
|
||||
node = (v == SEQ_START_TOKEN)
|
||||
|
||||
node = (v == SEQ_START_TOKEN)
|
||||
? nr_node_list.first
|
||||
: ((struct nr_node *)v)->node_node.next;
|
||||
|
||||
@ -963,8 +963,8 @@ static void *nr_neigh_next(struct seq_file *seq, void *v, loff_t *pos)
|
||||
{
|
||||
struct hlist_node *node;
|
||||
++*pos;
|
||||
|
||||
node = (v == SEQ_START_TOKEN)
|
||||
|
||||
node = (v == SEQ_START_TOKEN)
|
||||
? nr_neigh_list.first
|
||||
: ((struct nr_neigh *)v)->neigh_node.next;
|
||||
|
||||
@ -997,7 +997,7 @@ static int nr_neigh_show(struct seq_file *seq, void *v)
|
||||
|
||||
if (nr_neigh->digipeat != NULL) {
|
||||
for (i = 0; i < nr_neigh->digipeat->ndigi; i++)
|
||||
seq_printf(seq, " %s",
|
||||
seq_printf(seq, " %s",
|
||||
ax2asc(buf, &nr_neigh->digipeat->calls[i]));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user