From patchwork Tue Mar 23 21:25:35 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Contreras X-Patchwork-Id: 87767 X-Patchwork-Delegate: omar.ramirez@ti.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2NLQBUv018061 for ; Tue, 23 Mar 2010 21:26:12 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753349Ab0CWV0K (ORCPT ); Tue, 23 Mar 2010 17:26:10 -0400 Received: from mail-bw0-f209.google.com ([209.85.218.209]:33760 "EHLO mail-bw0-f209.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753001Ab0CWV0I (ORCPT ); Tue, 23 Mar 2010 17:26:08 -0400 Received: by mail-bw0-f209.google.com with SMTP id 1so2292169bwz.21 for ; Tue, 23 Mar 2010 14:26:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=quc+9Sxn/nojbJ13QcATqiRLOn7p21ztlIhckOJ53XI=; b=fWdBXM801ZL7XPXRFWiizl881KZKcxKIp6CXxV7U+96OB5pWK8qaag2EDCq+wPpB78 /lZnM+Thl8XHdTX7JkU276gJdIWL8pQc0S0DFjNOlLSoYC+xQqUR6TFuZyaKBNht43og pD/2qp2ZgWT8Et+pIn7+qGmrcyj7xzQx2j2LE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=skhGtMJEccRTIUDNX36U3MCT6Nbpx9Bu5XVyOMP4n6Y5yjO7UaPmLePubZV1cwoLLa bauiQNz+HittJ/Nn5H7+7LMV5a1iLqwpCBQkGyL9bjAa8lJxxC9w72rkx0cK5f/lHFSJ +Z4oNNJEVzwczATScZVjOw1doIpClRtEIK5YI= Received: by 10.204.153.24 with SMTP id i24mr325710bkw.213.1269379567403; Tue, 23 Mar 2010 14:26:07 -0700 (PDT) Received: from localhost (a91-153-253-80.elisa-laajakaista.fi [91.153.253.80]) by mx.google.com with ESMTPS id 13sm2711009bwz.3.2010.03.23.14.26.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 23 Mar 2010 14:26:07 -0700 (PDT) From: Felipe Contreras To: linux-omap Cc: Ameya Palande , Omar Ramirez Luna , Felipe Contreras Subject: [PATCH 03/10] dsp-bridge: deh: remove unnecessary casts Date: Tue, 23 Mar 2010 23:25:35 +0200 Message-Id: <1269379542-11892-4-git-send-email-felipe.contreras@gmail.com> X-Mailer: git-send-email 1.7.0.3 In-Reply-To: <1269379542-11892-1-git-send-email-felipe.contreras@gmail.com> References: <1269379542-11892-1-git-send-email-felipe.contreras@gmail.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 23 Mar 2010 21:26:12 +0000 (UTC) diff --git a/drivers/dsp/bridge/wmd/ue_deh.c b/drivers/dsp/bridge/wmd/ue_deh.c index 284f378..fae036f 100644 --- a/drivers/dsp/bridge/wmd/ue_deh.c +++ b/drivers/dsp/bridge/wmd/ue_deh.c @@ -137,7 +137,7 @@ dsp_status bridge_deh_destroy(struct deh_mgr *hdeh_mgr) bridge_deh_release_dummy_mem(); /* If notification object exists, delete it */ if (deh_mgr_obj->ntfy_obj) - (void)ntfy_delete(deh_mgr_obj->ntfy_obj); + ntfy_delete(deh_mgr_obj->ntfy_obj); /* Disable DSP MMU fault */ free_irq(INT_DSP_MMU_IRQ, deh_mgr_obj); @@ -275,7 +275,7 @@ void bridge_deh_notify(struct deh_mgr *hdeh_mgr, u32 ulEventMask, u32 dwErrInfo) /* Set the Board state as ERROR */ dev_context->dw_brd_state = BRD_ERROR; /* Disable all the clocks that were enabled by DSP */ - (void)dsp_peripheral_clocks_disable(dev_context, NULL); + dsp_peripheral_clocks_disable(dev_context, NULL); /* Call DSP Trace Buffer */ print_dsp_trace_buffer(hdeh_mgr->hwmd_context);