Received: from mail.onstor.com (66.201.51.107) by exch1.onstor.net
 (10.0.0.225) with Microsoft SMTP Server id 8.1.311.2; Tue, 20 Jan 2009
 17:51:26 -0800
Received: from chiesmta2-3.messageone.com ([216.203.30.55]) by mail.onstor.com
 with Microsoft SMTPSVC(6.0.3790.3959);	 Tue, 20 Jan 2009 17:51:25 -0800
Received: from ftp.linux-mips.org (ftp.linux-mips.org [213.58.128.207])	by
 chiesmta2-3.messageone.com (8.13.8/8.13.8) with ESMTP id n0L1pPg7000336	for
 <andy.sharp@onstor.com>; Tue, 20 Jan 2009 19:51:25 -0600
Received: from localhost.localdomain ([127.0.0.1]:31894 "EHLO
	ftp.linux-mips.org") by ftp.linux-mips.org with ESMTP	id S21366250AbZAUBvE
 (ORCPT <rfc822;andy.sharp@onstor.com>);	Wed, 21 Jan 2009 01:51:04 +0000
Received: with ECARTIS (v1.0.0; list linux-mips); Wed, 21 Jan 2009 01:50:47
 +0000 (GMT)
Received: from mail3.caviumnetworks.com ([12.108.191.235]:5882 "EHLO
	mail3.caviumnetworks.com") by ftp.linux-mips.org with ESMTP	id
 S21366249AbZAUBup (ORCPT <rfc822;linux-mips@linux-mips.org>);	Wed, 21 Jan
 2009 01:50:45 +0000
Received: from exch4.caveonetworks.com (Not Verified[192.168.16.23]) by
 mail3.caviumnetworks.com with MailMarshal (v6,2,2,3503)	id <B49767f590000>;
 Tue, 20 Jan 2009 20:50:17 -0500
Received: from exch4.caveonetworks.com ([192.168.16.23]) by
 exch4.caveonetworks.com with Microsoft SMTPSVC(6.0.3790.3959);	 Tue, 20 Jan
 2009 17:50:15 -0800
Received: from dd1.caveonetworks.com ([64.169.86.201]) by
 exch4.caveonetworks.com over TLS secured channel with Microsoft
 SMTPSVC(6.0.3790.3959);	 Tue, 20 Jan 2009 17:50:15 -0800
Received: from dd1.caveonetworks.com (localhost.localdomain [127.0.0.1])	by
 dd1.caveonetworks.com (8.14.2/8.14.2) with ESMTP id n0L1o8SG009488;	Tue, 20
 Jan 2009 17:50:11 -0800
Received: (from ddaney@localhost)	by dd1.caveonetworks.com
 (8.14.2/8.14.2/Submit) id n0L1o7CJ009486;	Tue, 20 Jan 2009 17:50:07 -0800
From: David Daney <ddaney@caviumnetworks.com>
To: "linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>
CC: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>, David Daney
	<ddaney@caviumnetworks.com>
Sender: "linux-mips-bounce@linux-mips.org" <linux-mips-bounce@linux-mips.org>
Date: Tue, 20 Jan 2009 17:49:58 -0800
Subject: [PATCH] libata: Remove some redundant casts from pata_octeon_cf.c
Thread-Topic: [PATCH] libata: Remove some redundant casts from
 pata_octeon_cf.c
Thread-Index: Acl7asVVJ8gLhLEhQV2ZCts5GSF81g==
Message-ID: <1232502598-9464-1-git-send-email-ddaney@caviumnetworks.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Exchange-Organization-AuthAs: Internal
X-MS-Exchange-Organization-AuthMechanism: 0b
X-MS-Exchange-Organization-AuthSource: exch1.onstor.net
X-MS-Has-Attach:
X-Auto-Response-Suppress: All
X-MS-TNEF-Correlator:
x-originalarrivaltime: 21 Jan 2009 01:50:15.0549 (UTC)
 FILETIME=[9B16EAD0:01C97B6A]
errors-to: linux-mips-bounce@linux-mips.org
x-ems-proccessed: 2K3Xl1OQTInXD6xxuA8z3Q==
x-ems-stamp: W00JGBrevPyZWf+ahmvtBw==
x-messageone-virus-version: vendor=fsecure
 engine=4.65.7400:2.4.4,1.2.40,4.0.164
 definitions=2009-01-21_01:2009-01-18,2009-01-21,2009-01-20 signatures=0
x-messageone-virus-scanned: Clean
x-messageone-envelope-sender: linux-mips-bounce@linux-mips.org
x-messageone-spam-details: rule=m773emszm_notspam policy=m773emszm score=0
 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam
 adjust=0 reason=mlx engine=3.1.0-0810130000 definitions=main-0901200194
x-messageone-spam-score: 0
x-messageone-spam-bar:
x-list: linux-mips
x-archive-position: 21792
x-ecartis-version: Ecartis v1.0.0
x-original-sender: ddaney@caviumnetworks.com
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
---
 drivers/ata/pata_octeon_cf.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/ata/pata_octeon_cf.c b/drivers/ata/pata_octeon_cf.c
index 0fe4ef3..0e71be1 100644
--- a/drivers/ata/pata_octeon_cf.c
+++ b/drivers/ata/pata_octeon_cf.c
@@ -503,7 +503,7 @@ static void octeon_cf_dma_setup(struct ata_queued_cmd *=
qc)
 	struct ata_port *ap =3D qc->ap;
 	struct octeon_cf_port *cf_port;
=20
-	cf_port =3D (struct octeon_cf_port *)ap->private_data;
+	cf_port =3D ap->private_data;
 	DPRINTK("ENTER\n");
 	/* issue r/w command */
 	qc->cursg =3D qc->sg;
@@ -596,7 +596,7 @@ static unsigned int octeon_cf_dma_finished(struct ata_p=
ort *ap,
 	if (ap->hsm_task_state !=3D HSM_ST_LAST)
 		return 0;
=20
-	cf_port =3D (struct octeon_cf_port *)ap->private_data;
+	cf_port =3D ap->private_data;
=20
 	dma_cfg.u64 =3D cvmx_read_csr(CVMX_MIO_BOOT_DMA_CFGX(ocd->dma_engine));
 	if (dma_cfg.s.size !=3D 0xfffff) {
@@ -657,7 +657,7 @@ static irqreturn_t octeon_cf_interrupt(int irq, void *d=
ev_instance)
 			continue;
=20
 		ocd =3D ap->dev->platform_data;
-		cf_port =3D (struct octeon_cf_port *)ap->private_data;
+		cf_port =3D ap->private_data;
 		dma_int.u64 =3D
 			cvmx_read_csr(CVMX_MIO_BOOT_DMA_INTX(ocd->dma_engine));
 		dma_cfg.u64 =3D
--=20
1.5.6.6


