Skip to content

Commit

Permalink
wan: Coding style correction in HDLC/Frame Relay support routines
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rudy Matela authored and David S. Miller committed Nov 30, 2009
1 parent 48b3d3e commit 6f7ad1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/wan/hdlc_fr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 6f7ad1e

Please sign in to comment.