From: Ingo Oeser [EMAIL PROTECTED]
Date: Fri, 10 Mar 2006 23:34:26 +0100
Here are some possible (and trivial) cleanups.
- use kzalloc() where possible
- invert allocation failure test like
if (object) {
/* Rest of function here */
}
to
if (object == NULL)
return
From: YOSHIFUJI Hideaki [EMAIL PROTECTED]
Date: Sun, 12 Feb 2006 02:11:03 +0900 (JST)
In article [EMAIL PROTECTED] (at Sat, 11 Feb 2006 17:37:18 +0100), Ingo
Oeser [EMAIL PROTECTED] says:
From: Ingo Oeser [EMAIL PROTECTED]
Here are some possible (and trivial) cleanups.
- use
From: Ingo Oeser [EMAIL PROTECTED]
Here are some possible (and trivial) cleanups.
- use kzalloc() where possible
- invert allocation failure test like
if (object) {
/* Rest of function here */
}
to
if (object == NULL)
return NULL;
/* Rest of function here */