Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172079
b: refs/heads/master
c: 614c12a
h: refs/heads/master
i:
  172077: 5d03791
  172075: e0c59ab
  172071: 588b416
  172063: 14c7779
v: v3
  • Loading branch information
Rudy Matela authored and David S. Miller committed Dec 2, 2009
1 parent 8016b51 commit 7b3f1ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5b23136bcf766a58160a319677b366c90f0cd223
refs/heads/master: 614c12a1581687501f1b0fc721feff69b47abd92
11 changes: 4 additions & 7 deletions trunk/drivers/net/wan/sealevel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit 7b3f1ad

Please sign in to comment.