Tag: 2c10efbd070624b742068d8050f3e95d7e1d9375

staging: rtl8188eu: os_dep: Remove NULL test before vfree

Author: Bhaktipriya Shridhar <bhaktipriya96@gmail.com> vfree frees the virtually continuous memory area starting at addr. If addr is NULL, no operation is performed. So NULL test is not needed before vfree. This was done using Coccinelle: @@ expression x; @@ -if (x != NULL) vfree(x); @@ expression x; @@ -if (x != NULL) { vfree(x); x …

Continue reading