lkml.org 
[lkml]   [2012]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Small perf cleanup
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


\
 
 \ /
  Last update: 2012-04-23 20:41    [W:0.029 / U:9.552 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site