Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752391Ab0GMIZ4 (ORCPT ); Tue, 13 Jul 2010 04:25:56 -0400 Received: from einhorn.in-berlin.de ([192.109.42.8]:45300 "EHLO einhorn.in-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751167Ab0GMIZz (ORCPT ); Tue, 13 Jul 2010 04:25:55 -0400 X-Envelope-From: stefanr@s5r6.in-berlin.de Message-ID: <4C3C22DD.50807@s5r6.in-berlin.de> Date: Tue, 13 Jul 2010 10:25:01 +0200 From: Stefan Richter User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.23) Gecko/20100627 SeaMonkey/1.1.18 MIME-Version: 1.0 To: Joe Perches CC: Jiri Kosina , linux-kernel@vger.kernel.org, linux1394-devel@lists.sourceforge.net Subject: Re: [PATCH 08/36] drivers/ieee1394: Remove unnecessary casts of private_data References: In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1192 Lines: 34 Joe Perches wrote: > Signed-off-by: Joe Perches > --- > drivers/ieee1394/dv1394.c | 4 ++-- > drivers/ieee1394/raw1394.c | 4 ++-- > drivers/ieee1394/video1394.c | 6 +++--- > 3 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/drivers/ieee1394/dv1394.c b/drivers/ieee1394/dv1394.c > index f8fcbd0..c5a031b 100644 > --- a/drivers/ieee1394/dv1394.c > +++ b/drivers/ieee1394/dv1394.c > @@ -172,7 +172,7 @@ static DEFINE_SPINLOCK(dv1394_cards_lock); > > static inline struct video_card* file_to_video_card(struct file *file) > { > - return (struct video_card*) file->private_data; > + return file->private_data; [...] Committed to linux1394-2.6.git. drivers/ieee1394/ is both frozen and obsolete code that is scheduled for removal. But this change is obvious enough to be applied nevertheless before that code finally goes away. -- Stefan Richter -=====-==-=- -=== -==-= http://arcgraph.de/sr/ -- 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/