Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 363332
b: refs/heads/master
c: d39625c
h: refs/heads/master
v: v3
  • Loading branch information
Syam Sidhardhan authored and Greg Kroah-Hartman committed Mar 11, 2013
1 parent 798d279 commit 326d269
Show file tree
Hide file tree
Showing 2 changed files with 3 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: f54ab7d916ee4504e91b552c38cfa2f82df3718d
refs/heads/master: d39625c4eb3349569f0959a4488e71faa927ec4a
6 changes: 2 additions & 4 deletions trunk/drivers/staging/silicom/bp_mod.c
Original file line number Diff line number Diff line change
Expand Up @@ -6995,15 +6995,13 @@ static void __exit bypass_cleanup_module(void)
/* unmap all devices */
for (i = 0; i < device_num; i++) {
#ifdef BP_SELF_TEST
if (bpctl_dev_arr[i].bp_tx_data)
kfree(bpctl_dev_arr[i].bp_tx_data);
kfree(bpctl_dev_arr[i].bp_tx_data);
#endif
iounmap((void *)(bpctl_dev_arr[i].mem_map));
}

/* free all devices space */
if (bpctl_dev_arr)
kfree(bpctl_dev_arr);
kfree(bpctl_dev_arr);

/*
* Unregister the device
Expand Down

0 comments on commit 326d269

Please sign in to comment.