Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755193Ab0F2KPn (ORCPT ); Tue, 29 Jun 2010 06:15:43 -0400 Received: from fg-out-1718.google.com ([72.14.220.156]:3013 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755049Ab0F2KPk (ORCPT ); Tue, 29 Jun 2010 06:15:40 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=aTVL1hBmkEUqdy65wVWfC/AUjDpUFJLjQecA/X12NzAKhvIursaRRyEyxgd+uD2GCd ru0yUE2nIzl2OxOnG10ZVtJ/4qZo7fMs2nl6yYft6/NO1Rpq0aeze2n+sqeaQ/3gNCfh hFB2gGI90c4DGMzmtSdYn6oqVmx+i6UlyqM6A= From: Kulikov Vasiliy To: Kernel Janitors Cc: Greg Kroah-Hartman , Benjamin Adolphi , Mithlesh Thukral , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 11/25] pcm3724: remove casts from void* Date: Tue, 29 Jun 2010 14:15:36 +0400 Message-Id: <1277806537-31078-1-git-send-email-segooon@gmail.com> X-Mailer: git-send-email 1.7.0.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 970 Lines: 28 Remove unnesessary casts from void*. Signed-off-by: Kulikov Vasiliy --- drivers/staging/comedi/drivers/pcm3724.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/comedi/drivers/pcm3724.c b/drivers/staging/comedi/drivers/pcm3724.c index ed61030..0e91d95 100644 --- a/drivers/staging/comedi/drivers/pcm3724.c +++ b/drivers/staging/comedi/drivers/pcm3724.c @@ -184,7 +184,7 @@ static void enable_chan(struct comedi_device *dev, struct comedi_subdevice *s, struct priv_pcm3724 *priv; gatecfg = 0; - priv = (struct priv_pcm3724 *)(dev->private); + priv = dev->private; mask = 1 << CR_CHAN(chanspec); if (s == dev->subdevices) /* subdev 0 */ -- 1.7.0.4 -- 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/