From patchwork Wed Mar 26 15:41:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 3894131 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 21A799F369 for ; Wed, 26 Mar 2014 15:47:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 372B42021C for ; Wed, 26 Mar 2014 15:47:42 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 401FB200F4 for ; Wed, 26 Mar 2014 15:47:41 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WSq2f-0002tM-P0; Wed, 26 Mar 2014 15:47:02 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WSpxn-0002ad-2d; Wed, 26 Mar 2014 15:41:59 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WSpxX-0002X6-EE for linux-arm-kernel@lists.infradead.org; Wed, 26 Mar 2014 15:41:44 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N31001A3VKXJIB0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 27 Mar 2014 00:41:21 +0900 (KST) X-AuditID: cbfee61a-b7fb26d00000724f-83-5332f521efa7 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id F9.E3.29263.125F2335; Thu, 27 Mar 2014 00:41:21 +0900 (KST) Received: from amdc1032.localnet ([106.116.147.136]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N310013KVKU0D70@mmp2.samsung.com>; Thu, 27 Mar 2014 00:41:21 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Tejun Heo Subject: [PATCH] ata: sata_highbank: remove superfluous cast Date: Wed, 26 Mar 2014 16:41 +0100 Message-id: <11638294.fp3ZK6zVlg@amdc1032> User-Agent: KMail/4.8.4 (Linux/3.2.0-54-generic-pae; KDE/4.8.5; i686; ; ) MIME-version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrJLMWRmVeSWpSXmKPExsVy+t9jQV3Fr0bBBpe+6llsenyN1eLYjkdM Fpd3zWGzuN52it3i/54d7Ba/lh9ldGDzWPD5CrvHplWdbB6bl9R7fN4kF8ASxWWTkpqTWZZa pG+XwJWxY+sGpoKd7BUfn95ja2BczdbFyMkhIWAicWXOVVYIW0ziwr31QHEuDiGB6YwS60/d ZYFwWpgkNrSuYQSpYhOwkpjYvgrMFhGQlbgy7SEjSBGzwEZGiVUn/rOAJIQFbCR2vJ0DNJaD g0VASeLziVyQMK+AlkTv1Mlgm0UFPCV2bF/JBhEXlPgx+R5YK7OAvMS+/VNZIWwtifU7jzNN YOSbhaRsFpKyWUjKFjAyr2IUTS1ILihOSs811CtOzC0uzUvXS87P3cQIDtBnUjsYVzZYHGIU 4GBU4uHdcd8oWIg1say4MvcQowQHs5IIr+4zoBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHeA63W gUIC6YklqdmpqQWpRTBZJg5OqQbG6bfN1QuY2cSz1jcvkChjlfplnR03O2H1+WbVFPFjH1tn fV8Ys3bJhPCZgpktMjmFzaUatZwZOaKzmBKlXIxbr8083SEzbVPFwkDbMF/xJ9ZRtTIZqUni j/XnFB8Tadn349hR8ZacTWEBG5mC9r2/bfZndXlCSUfe/bNf3+zImVV0oflLn7sSS3FGoqEW c1FxIgB+9jwJTAIAAA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140326_114143_727518_1FDEF8C8 X-CRM114-Status: UNSURE ( 8.70 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.3 (-------) Cc: Rob Herring , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Mark Langsdorf , linux-ide@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP hpriv->plat_data is 'void *' so there is no need to cast it to 'struct ecx_plat_data *'. Cc: Mark Langsdorf Cc: Rob Herring Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/ata/sata_highbank.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/ata/sata_highbank.c =================================================================== --- a/drivers/ata/sata_highbank.c 2014-03-14 16:45:04.384724376 +0100 +++ b/drivers/ata/sata_highbank.c 2014-03-26 16:28:40.927062349 +0100 @@ -141,7 +141,7 @@ static ssize_t ecx_transmit_led_message( ssize_t size) { struct ahci_host_priv *hpriv = ap->host->private_data; - struct ecx_plat_data *pdata = (struct ecx_plat_data *) hpriv->plat_data; + struct ecx_plat_data *pdata = hpriv->plat_data; struct ahci_port_priv *pp = ap->private_data; unsigned long flags; int pmp, i;