aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pppoe.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2009-12-03 02:58:21 -0500
committerDavid S. Miller <davem@davemloft.net>2009-12-03 16:18:01 -0500
commit8e95a2026f3b43f7c3d676adaccd2de9532e8dcc (patch)
tree3733318168cd512480b6db58c5c16d1c8847f0b7 /drivers/net/pppoe.c
parent3454f835837609d60b29a266e3bd9d701073b060 (diff)
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>
Diffstat (limited to 'drivers/net/pppoe.c')
-rw-r--r--drivers/net/pppoe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pppoe.c b/drivers/net/pppoe.c
index a4ed776d823b..cdd11ba100ea 100644
--- a/drivers/net/pppoe.c
+++ b/drivers/net/pppoe.c
@@ -323,8 +323,8 @@ static void pppoe_flush_dev(struct net_device *dev)
323 write_unlock_bh(&pn->hash_lock); 323 write_unlock_bh(&pn->hash_lock);
324 lock_sock(sk); 324 lock_sock(sk);
325 325
326 if (po->pppoe_dev == dev 326 if (po->pppoe_dev == dev &&
327 && sk->sk_state & (PPPOX_CONNECTED | PPPOX_BOUND)) { 327 sk->sk_state & (PPPOX_CONNECTED | PPPOX_BOUND)) {
328 pppox_unbind_sock(sk); 328 pppox_unbind_sock(sk);
329 sk->sk_state = PPPOX_ZOMBIE; 329 sk->sk_state = PPPOX_ZOMBIE;
330 sk->sk_state_change(sk); 330 sk->sk_state_change(sk);