From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julia Lawall Date: Thu, 23 Apr 2015 05:45:53 +0000 Subject: Re: [PATCH 0/15]Remove unneeded casts of memory-alloc function return values Message-Id: List-Id: References: <1429767245-32453-1-git-send-email-firogm@gmail.com> In-Reply-To: <1429767245-32453-1-git-send-email-firogm@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kernel-janitors@vger.kernel.org On Thu, 23 Apr 2015, Firo Yang wrote: > The memory-alloc() functions return a void pointer, so when > assigning to a pointer type variable there is no need to cast > the return value. If you used a tool to find these, it would be nice to give credit to that tool. julia > > -- > To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >