Tag: 7570ad910445d3c38bc0a5f0a82606e4861f85a6

staging: rtl8188eu: core: 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