summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorRudy Matela2009-11-30 08:42:42 +0100
committerDavid S. Miller2009-11-30 08:42:42 +0100
commit6f7ad1e3a24a64923538557b686d24c37b26f9d8 (patch)
treee3ffd0a6972531c82a4222ffbe6c5a241ef7f55a /drivers/net
parentwan: Frame Relay/DLCI coding style corrections. (diff)
downloadkernel-qcow2-linux-6f7ad1e3a24a64923538557b686d24c37b26f9d8.tar.gz
kernel-qcow2-linux-6f7ad1e3a24a64923538557b686d24c37b26f9d8.tar.xz
kernel-qcow2-linux-6f7ad1e3a24a64923538557b686d24c37b26f9d8.zip
wan: Coding style correction in HDLC/Frame Relay support routines
Added a space separating some if keywords from the following parenthesis to conform to the CodingStyle. Signed-off-by: Rudy Matela <rudy.matela@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wan/hdlc_fr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wan/hdlc_fr.c b/drivers/net/wan/hdlc_fr.c
index 840cff72a0f1..a7d4fc1a03a2 100644
--- 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,