projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging: ozwpan: Fix bug where kfree is called twice.
[GitHub/LineageOS/android_kernel_samsung_universal7580.git]
/
drivers
/
staging
/
ozwpan
/
ozpd.c
diff --git
a/drivers/staging/ozwpan/ozpd.c
b/drivers/staging/ozwpan/ozpd.c
index 2b45d3d1800c13bc1a6341a9b5c5d2c8f4048086..04cd57f2a6da50eea26b54e163eef6f39af91c1a 100644
(file)
--- a/
drivers/staging/ozwpan/ozpd.c
+++ b/
drivers/staging/ozwpan/ozpd.c
@@
-383,8
+383,6
@@
static void oz_tx_frame_free(struct oz_pd *pd, struct oz_tx_frame *f)
pd->tx_pool = &f->link;
pd->tx_pool_count++;
f = 0;
- } else {
- kfree(f);
}
spin_unlock_bh(&pd->tx_frame_lock);
if (f)