projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
virtio: fix memory leak on device removal
[cascardo/linux.git]
/
drivers
/
staging
/
winbond
/
mds.c
diff --git
a/drivers/staging/winbond/mds.c
b/drivers/staging/winbond/mds.c
index
c7af092
..
59d6d67
100644
(file)
--- a/
drivers/staging/winbond/mds.c
+++ b/
drivers/staging/winbond/mds.c
@@
-432,7
+432,7
@@
Mds_Tx(struct wbsoft_priv * adapter)
return;
//Only one thread can be run here
- if (
!atomic_inc_return(&pMds->TxThreadCount) =
= 1)
+ if (
atomic_inc_return(&pMds->TxThreadCount) !
= 1)
goto cleanup;
// Start to fill the data