Re: [PATCH] Small perf cleanup

From: Arnaldo Carvalho de Melo
Date: Mon Apr 23 2012 - 14:38:53 EST


Em Mon, Apr 23, 2012 at 09:04:29AM -0400, Ulrich Drepper escreveu:
> I just noticed this. The if branch is completely unnecessary since
> 'realloc' handles NULL pointers for the first parameter. This is
> really only a cleanup and submitted mainly to prevent proliferation
> of bad practices.

Thanks, applied to my perf/core branch at:

http://git.kernel.org/?p=linux/kernel/git/acme/linux.git;a=shortlog;h=refs/heads/perf/core

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/