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
@@ -391,8 +391,8 @@ static void mcs7830_set_multicast(struct net_device *net)
|
||||
|
||||
if (net->flags & IFF_PROMISC) {
|
||||
data->config |= HIF_REG_CONFIG_PROMISCIOUS;
|
||||
} else if (net->flags & IFF_ALLMULTI
|
||||
|| net->mc_count > MCS7830_MAX_MCAST) {
|
||||
} else if (net->flags & IFF_ALLMULTI ||
|
||||
net->mc_count > MCS7830_MAX_MCAST) {
|
||||
data->config |= HIF_REG_CONFIG_ALLMULTICAST;
|
||||
} else if (net->mc_count == 0) {
|
||||
/* just broadcast and directed */
|
||||
|
Reference in New Issue
Block a user