diff options
author | Rudy Matela <rudy.matela@gmail.com> | 2009-12-09 11:35:40 -0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-02-04 11:55:46 +0100 |
commit | 640462cbd659990bcceaf86ab17ccbc02147e62a (patch) | |
tree | f14f569c76475edb7fbcc3c08defad847bd91e44 /drivers/net/wan/hdlc_x25.c | |
parent | 7e2a10836c0455cb3ca397f89b8280496148d571 (diff) |
Coding style correction of some wan drivers
Added a space separating some if/switch/while keywords from the following
parenthesis to conform to the CodingStyle.
Signed-off-by: Rudy Matela <rudy.matela@gmail.com>
Acked-by: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/net/wan/hdlc_x25.c')
-rw-r--r-- | drivers/net/wan/hdlc_x25.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wan/hdlc_x25.c b/drivers/net/wan/hdlc_x25.c index aa9248f8eb1a..6e1ca256effd 100644 --- a/drivers/net/wan/hdlc_x25.c +++ b/drivers/net/wan/hdlc_x25.c @@ -202,10 +202,10 @@ static int x25_ioctl(struct net_device *dev, struct ifreq *ifr) return 0; /* return protocol only, no settable parameters */ case IF_PROTO_X25: - if(!capable(CAP_NET_ADMIN)) + if (!capable(CAP_NET_ADMIN)) return -EPERM; - if(dev->flags & IFF_UP) + if (dev->flags & IFF_UP) return -EBUSY; result=hdlc->attach(dev, ENCODING_NRZ,PARITY_CRC16_PR1_CCITT); |