projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48b3d3e
)
wan: Coding style correction in HDLC/Frame Relay support routines
author
Rudy Matela
<
[email protected]
>
Mon, 30 Nov 2009 07:42:42 +0000
(23:42 -0800)
committer
David S. Miller
<
[email protected]
>
Mon, 30 Nov 2009 07:42:42 +0000
(23:42 -0800)
Added a space separating some if keywords from the following
parenthesis to conform to the CodingStyle.
Signed-off-by: Rudy Matela <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/wan/hdlc_fr.c
patch
|
blob
|
history
diff --git
a/drivers/net/wan/hdlc_fr.c
b/drivers/net/wan/hdlc_fr.c
index 840cff72a0f1a5596ff407651d2c81c305c8a3e9..a7d4fc1a03a213460a6165e9163f4e037dd701dc 100644
(file)
--- a/
drivers/net/wan/hdlc_fr.c
+++ b/
drivers/net/wan/hdlc_fr.c
@@
-1214,10
+1214,10
@@
static int fr_ioctl(struct net_device *dev, struct ifreq *ifr)
return 0;
case IF_PROTO_FR:
- if(!capable(CAP_NET_ADMIN))
+ if
(!capable(CAP_NET_ADMIN))
return -EPERM;
- if(dev->flags & IFF_UP)
+ if
(dev->flags & IFF_UP)
return -EBUSY;
if (copy_from_user(&new_settings, fr_s, size))
@@
-1263,7
+1263,7
@@
static int fr_ioctl(struct net_device *dev, struct ifreq *ifr)
if (dev_to_hdlc(dev)->proto != &proto) /* Different proto */
return -EINVAL;
- if(!capable(CAP_NET_ADMIN))
+ if
(!capable(CAP_NET_ADMIN))
return -EPERM;
if (copy_from_user(&pvc, ifr->ifr_settings.ifs_ifsu.fr_pvc,