diff options
author | Rudy Matela <rudy.matela@gmail.com> | 2009-12-02 01:26:01 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-02 01:26:01 -0800 |
commit | 614c12a1581687501f1b0fc721feff69b47abd92 (patch) | |
tree | 33c98a20f5c5003da4009a8650b711dab901b128 /drivers/net/wan | |
parent | 5b23136bcf766a58160a319677b366c90f0cd223 (diff) | |
download | linux-3.10-614c12a1581687501f1b0fc721feff69b47abd92.tar.gz linux-3.10-614c12a1581687501f1b0fc721feff69b47abd92.tar.bz2 linux-3.10-614c12a1581687501f1b0fc721feff69b47abd92.zip |
net: Coding style corrections on Sealevel Systems 4021 driver.
Changed braces position on some statements.
Inserted a space between an "if" keyword and a parenthesis.
Signed-off-by: Rudy Matela <rudy.matela@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan')
-rw-r--r-- | drivers/net/wan/sealevel.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/net/wan/sealevel.c b/drivers/net/wan/sealevel.c index 3b3ee05bc46..61249f489e3 100644 --- a/drivers/net/wan/sealevel.c +++ b/drivers/net/wan/sealevel.c @@ -84,8 +84,7 @@ static int sealevel_open(struct net_device *d) * Link layer up. */ - switch (unit) - { + switch (unit) { case 0: err = z8530_sync_dma_open(d, slvl->chan); break; @@ -133,8 +132,7 @@ static int sealevel_close(struct net_device *d) hdlc_close(d); netif_stop_queue(d); - switch (unit) - { + switch (unit) { case 0: z8530_sync_dma_close(d, slvl->chan); break; @@ -342,8 +340,7 @@ static void __exit slvl_shutdown(struct slvl_board *b) z8530_shutdown(&b->board); - for (u = 0; u < 2; u++) - { + for (u = 0; u < 2; u++) { struct net_device *d = b->dev[u].chan->netdevice; unregister_hdlc_device(d); free_netdev(d); @@ -391,7 +388,7 @@ static int __init slvl_init_module(void) static void __exit slvl_cleanup_module(void) { - if(slvl_unit) + if (slvl_unit) slvl_shutdown(slvl_unit); } |