git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging: vt6656: Remove NULL check before kfree
[pandora-kernel.git]
/
drivers
/
staging
/
vt6656
/
hostap.c
diff --git
a/drivers/staging/vt6656/hostap.c
b/drivers/staging/vt6656/hostap.c
index
f70e922
..
51b5adf
100644
(file)
--- a/
drivers/staging/vt6656/hostap.c
+++ b/
drivers/staging/vt6656/hostap.c
@@
-858,8
+858,7
@@
int vt6656_hostap_ioctl(PSDevice pDevice, struct iw_point *p)
}
out:
- if (param != NULL)
- kfree(param);
+ kfree(param);
return ret;
}