lkml.org 
[lkml]   [2004]   [Jul]   [12]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 11 Jul 2004 23:30:02 -0700
FromAndrew Morton <>
SubjectRe: [PATCH] radeonfb: cleanup and little fixes
David Eger <eger@havoc.gtf.org> wrote:
>
> Dear Andrew, Please apply.
> 

Sure..

>  	if (rinfo->mon1_EDID)
>  	    kfree(rinfo->mon1_EDID);
>  	if (rinfo->mon2_EDID)
>  	    kfree(rinfo->mon2_EDID);

kfree(NULL) is legal, and this is a slow-path.  Those tests can be taken
out next time, unless such a thing offends you.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [from the cache]
©2003-2008