Skip to content
Snippets Groups Projects
Commit 2b191bef authored by Jesper Juhl's avatar Jesper Juhl Committed by David S. Miller
Browse files

[IPCOMP6]: don't check vfree() argument for NULL.


vfree does it's own NULL checking, so checking a pointer before
handing it to vfree is pointless.

Signed-off-by: default avatarJesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent afe00251
No related branches found
No related tags found
No related merge requests found
......@@ -286,7 +286,7 @@ static void ipcomp6_free_scratches(void)
for_each_cpu(i) {
void *scratch = *per_cpu_ptr(scratches, i);
if (scratch)
vfree(scratch);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment