Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266638
b: refs/heads/master
c: 44b815c
h: refs/heads/master
v: v3
  • Loading branch information
Amitkumar Karwar authored and John W. Linville committed Oct 3, 2011
1 parent f531e60 commit a4ea15f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: d85c5fe462fe3531f607fda787e9c80617e35437
refs/heads/master: 44b815c6b063ddadacc062a28a3e3facc8486f31
5 changes: 1 addition & 4 deletions trunk/drivers/net/wireless/mwifiex/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ static int mwifiex_register(void *card, struct mwifiex_if_ops *if_ops,
adapter->priv_num++;

adapter->priv[0]->adapter = adapter;
if (mwifiex_init_lock_list(adapter))
goto error;
mwifiex_init_lock_list(adapter);

init_timer(&adapter->cmd_timer);
adapter->cmd_timer.function = mwifiex_cmd_timeout_func;
Expand All @@ -87,8 +86,6 @@ static int mwifiex_register(void *card, struct mwifiex_if_ops *if_ops,
error:
dev_dbg(adapter->dev, "info: leave mwifiex_register with error\n");

mwifiex_free_lock_list(adapter);

for (i = 0; i < adapter->priv_num; i++)
kfree(adapter->priv[i]);

Expand Down

0 comments on commit a4ea15f

Please sign in to comment.