From patchwork Tue Mar 23 21:25:33 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Contreras X-Patchwork-Id: 87765 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 o2NLQ7TZ018013 for ; Tue, 23 Mar 2010 21:26:09 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753310Ab0CWV0I (ORCPT ); Tue, 23 Mar 2010 17:26:08 -0400 Received: from mail-bw0-f209.google.com ([209.85.218.209]:46268 "EHLO mail-bw0-f209.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753080Ab0CWV0G (ORCPT ); Tue, 23 Mar 2010 17:26:06 -0400 Received: by bwz1 with SMTP id 1so2292192bwz.21 for ; Tue, 23 Mar 2010 14:26:05 -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=0dc9M6WwkHr8lkuXpoHqY1uk6c27JMP4R3aM+Zkof+A=; b=cOfm5A0E/A3Fz6LmSJ8lnk8kG0LLU62HZYojW7lch2vAlbdzNdlWMzrGtmQklpH3Rm smhSJ0drDfl+nby2IBJiLlppR3kxnLfDnVfjl8hSqelc5gjuxBYvbmHbQlDEVe+xi11c ZI4WZEpzPzh61RTF/vlnZ0vy9sXYmVEpPEzTk= 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=OSR0VjhFmvckmf1FmNcm6P/1VR/CEe8UcE6pVV+uELQd8b4o5QhEcCbUHmdu62B84J HfclD4suIQhRca7rOGXEysORc5RD43wYNvoaJ9tQY/UMdUcruXxT9oDXNJwXcye4Pbuu ZKfgoV2h6TsbPyLmL1/m+u0r2ECJx7YymCwdw= Received: by 10.204.46.153 with SMTP id j25mr4460926bkf.191.1269379563717; Tue, 23 Mar 2010 14:26:03 -0700 (PDT) Received: from localhost (a91-153-253-80.elisa-laajakaista.fi [91.153.253.80]) by mx.google.com with ESMTPS id 14sm2651511bwz.14.2010.03.23.14.26.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 23 Mar 2010 14:26:03 -0700 (PDT) From: Felipe Contreras To: linux-omap Cc: Ameya Palande , Omar Ramirez Luna , Felipe Contreras Subject: [PATCH 01/10] dsp-bridge: deh: remove obvious comments Date: Tue, 23 Mar 2010 23:25:33 +0200 Message-Id: <1269379542-11892-2-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:09 +0000 (UTC) diff --git a/drivers/dsp/bridge/wmd/ue_deh.c b/drivers/dsp/bridge/wmd/ue_deh.c index 5edcce9..8d44180 100644 --- a/drivers/dsp/bridge/wmd/ue_deh.c +++ b/drivers/dsp/bridge/wmd/ue_deh.c @@ -60,10 +60,7 @@ static struct hw_mmu_map_attrs_t map_attrs = { HW_LITTLE_ENDIAN, #define VIRT_TO_PHYS(x) ((x) - PAGE_OFFSET + PHYS_OFFSET) static u32 dummy_va_addr; -/* - * ======== bridge_deh_create ======== - * Creates DEH manager object. - */ + dsp_status bridge_deh_create(OUT struct deh_mgr **phDehMgr, struct dev_object *hdev_obj) { @@ -126,10 +123,6 @@ dsp_status bridge_deh_create(OUT struct deh_mgr **phDehMgr, return status; } -/* - * ======== bridge_deh_destroy ======== - * Destroys DEH manager object. - */ dsp_status bridge_deh_destroy(struct deh_mgr *hdeh_mgr) { dsp_status status = DSP_SOK; @@ -154,10 +147,6 @@ dsp_status bridge_deh_destroy(struct deh_mgr *hdeh_mgr) return status; } -/* - * ======== bridge_deh_register_notify ======== - * Registers for DEH notifications. - */ dsp_status bridge_deh_register_notify(struct deh_mgr *hdeh_mgr, u32 event_mask, u32 notify_type, struct dsp_notification *hnotification) @@ -173,10 +162,6 @@ dsp_status bridge_deh_register_notify(struct deh_mgr *hdeh_mgr, u32 event_mask, return status; } -/* - * ======== bridge_deh_notify ======== - * DEH error notification function. Informs user about the error. - */ void bridge_deh_notify(struct deh_mgr *hdeh_mgr, u32 ulEventMask, u32 dwErrInfo) { struct deh_mgr *deh_mgr_obj = (struct deh_mgr *)hdeh_mgr; @@ -290,10 +275,6 @@ void bridge_deh_notify(struct deh_mgr *hdeh_mgr, u32 ulEventMask, u32 dwErrInfo) } } -/* - * ======== bridge_deh_get_info ======== - * Retrieves error information. - */ dsp_status bridge_deh_get_info(struct deh_mgr *hdeh_mgr, struct dsp_errorinfo *pErrInfo) { @@ -317,10 +298,6 @@ dsp_status bridge_deh_get_info(struct deh_mgr *hdeh_mgr, return status; } -/* - * ======== bridge_deh_release_dummy_mem ======== - * Releases memory allocated for dummy page - */ void bridge_deh_release_dummy_mem(void) { kfree((void *)dummy_va_addr);