net/ipv4: Move && and || to end of previous line
On Sun, 2009-11-22 at 16:31 -0800, David Miller wrote: > It should be of the form: > if (x && > y) > > or: > if (x && y) > > Fix patches, rather than complaints, for existing cases where things > do not follow this pattern are certainly welcome. Also collapsed some multiple tabs to single space. 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
6ebfbc0656
commit
9d4fb27db9
@ -1172,10 +1172,9 @@ static int __init ic_dynamic(void)
|
||||
schedule_timeout_uninterruptible(1);
|
||||
#ifdef IPCONFIG_DHCP
|
||||
/* DHCP isn't done until we get a DHCPACK. */
|
||||
if ((ic_got_reply & IC_BOOTP)
|
||||
&& (ic_proto_enabled & IC_USE_DHCP)
|
||||
&& ic_dhcp_msgtype != DHCPACK)
|
||||
{
|
||||
if ((ic_got_reply & IC_BOOTP) &&
|
||||
(ic_proto_enabled & IC_USE_DHCP) &&
|
||||
ic_dhcp_msgtype != DHCPACK) {
|
||||
ic_got_reply = 0;
|
||||
printk(",");
|
||||
continue;
|
||||
@ -1344,9 +1343,9 @@ static int __init ip_auto_config(void)
|
||||
*/
|
||||
if (ic_myaddr == NONE ||
|
||||
#ifdef CONFIG_ROOT_NFS
|
||||
(root_server_addr == NONE
|
||||
&& ic_servaddr == NONE
|
||||
&& ROOT_DEV == Root_NFS) ||
|
||||
(root_server_addr == NONE &&
|
||||
ic_servaddr == NONE &&
|
||||
ROOT_DEV == Root_NFS) ||
|
||||
#endif
|
||||
ic_first_dev->next) {
|
||||
#ifdef IPCONFIG_DYNAMIC
|
||||
|
Reference in New Issue
Block a user