Tag: b242d05fa3ec5baf83f7a51c7c58757fcf36e321

staging: rts5208: 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