Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754899Ab0KZPlE (ORCPT ); Fri, 26 Nov 2010 10:41:04 -0500 Received: from mail-bw0-f46.google.com ([209.85.214.46]:61651 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751335Ab0KZPlC (ORCPT ); Fri, 26 Nov 2010 10:41:02 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=jj3ucLIdGutS9JWpZmf2XPtUoeSSyT3oOBvqRqaQNKpSJ1XhV6ykjEPgwJ+aXmLyQe agOwTEbO2NlBbkMylt5yih6Ut2lczjR4KTS8Dp1aFEvRichP1CfIpGB2UJjoqi2ZMae7 nYTSs5y3TA4kEh8eCzjoKh2FhdMzWq5IZri3M= Subject: Re: [PATCH 06/17][trivial] mtd: Remove unnecessary casts of void ptr returning alloc function return values From: Artem Bityutskiy Reply-To: dedekind1@gmail.com To: Jesper Juhl Cc: linux-kernel@vger.kernel.org, trivial@kernel.org, linux-mtd@lists.infradead.org, David Woodhouse , Kirk Lee In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Fri, 26 Nov 2010 17:40:28 +0200 Message-ID: <1290786028.2552.20.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 (2.32.1-1.fc14) Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 643 Lines: 21 On Tue, 2010-11-09 at 00:09 +0100, 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/mtd/ Pushed to l2-mtd-2.6.git, thanks. -- Best Regards, Artem Bityutskiy (Артём Битюцкий) -- 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/