lkml.org 
[lkml]   [2011]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 08/17][trivial] scsi: Remove unnecessary casts of void ptr returning alloc function return values
On 01/19/2011 03:27 PM, Jiri Kosina wrote:
> On Tue, 9 Nov 2010, Jesper Juhl wrote:
>
>> Hi,
>>
>> The [vk][cmz]alloc(_node) family of functions return void pointers which
>> it's completely unnecessary/pointless to cast to other pointer types since
>> that happens implicitly.
>>
>> This patch removes such casts from drivers/scsi/
>>
>>
>> Signed-off-by: Jesper Juhl <jj@chaosbits.net>\
Acked-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@suse.de +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
--
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: 2011-01-20 08:25    [W:0.080 / U:11.936 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site