drivers/net: Move && and || to end of previous line
Only files where David Miller is the primary git-signer. wireless, wimax, ixgbe, etc are not modified. Compile tested x86 allyesconfig only Not all files compiled (not x86 compatible) Added a few > 80 column lines, which I ignored. Existing checkpatch complaints 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
3454f83583
commit
8e95a2026f
@@ -230,9 +230,9 @@ static int ipddp_delete(struct ipddp_route *rt)
|
||||
spin_lock_bh(&ipddp_route_lock);
|
||||
while((tmp = *r) != NULL)
|
||||
{
|
||||
if(tmp->ip == rt->ip
|
||||
&& tmp->at.s_net == rt->at.s_net
|
||||
&& tmp->at.s_node == rt->at.s_node)
|
||||
if(tmp->ip == rt->ip &&
|
||||
tmp->at.s_net == rt->at.s_net &&
|
||||
tmp->at.s_node == rt->at.s_node)
|
||||
{
|
||||
*r = tmp->next;
|
||||
spin_unlock_bh(&ipddp_route_lock);
|
||||
@@ -255,9 +255,9 @@ static struct ipddp_route* __ipddp_find_route(struct ipddp_route *rt)
|
||||
|
||||
for(f = ipddp_route_list; f != NULL; f = f->next)
|
||||
{
|
||||
if(f->ip == rt->ip
|
||||
&& f->at.s_net == rt->at.s_net
|
||||
&& f->at.s_node == rt->at.s_node)
|
||||
if(f->ip == rt->ip &&
|
||||
f->at.s_net == rt->at.s_net &&
|
||||
f->at.s_node == rt->at.s_node)
|
||||
return (f);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user