net: Move && and || to end of previous line
Not including net/atm/ Compiled tested x86 allyesconfig only Added a > 80 column line or two, which I ignored. Existing checkpatch plaints willfully, cheerfully ignored. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
152b6a62ae
commit
f64f9e7192
@ -77,8 +77,9 @@ static int __must_check rose_add_node(struct rose_route_struct *rose_route,
|
||||
|
||||
rose_neigh = rose_neigh_list;
|
||||
while (rose_neigh != NULL) {
|
||||
if (ax25cmp(&rose_route->neighbour, &rose_neigh->callsign) == 0
|
||||
&& rose_neigh->dev == dev)
|
||||
if (ax25cmp(&rose_route->neighbour,
|
||||
&rose_neigh->callsign) == 0 &&
|
||||
rose_neigh->dev == dev)
|
||||
break;
|
||||
rose_neigh = rose_neigh->next;
|
||||
}
|
||||
@ -311,8 +312,9 @@ static int rose_del_node(struct rose_route_struct *rose_route,
|
||||
|
||||
rose_neigh = rose_neigh_list;
|
||||
while (rose_neigh != NULL) {
|
||||
if (ax25cmp(&rose_route->neighbour, &rose_neigh->callsign) == 0
|
||||
&& rose_neigh->dev == dev)
|
||||
if (ax25cmp(&rose_route->neighbour,
|
||||
&rose_neigh->callsign) == 0 &&
|
||||
rose_neigh->dev == dev)
|
||||
break;
|
||||
rose_neigh = rose_neigh->next;
|
||||
}
|
||||
|
Reference in New Issue
Block a user