All of lore.kernel.org
 help / color / mirror / Atom feed
From: Omar Ramirez Luna <x00omar@ti.com>
To: linux-omap <linux-omap@vger.kernel.org>
Cc: Hiroshi.DOYU@nokia.com, ameya.palande@nokia.com,
	Guzman Lugo Fernando <x0095840@ti.com>,
	Omar Ramirez Luna <x00omar@ti.com>
Subject: [PATCH 06/14] DSPBRIDGE: Remove variables not used in cfgdefs.h
Date: Wed, 20 May 2009 00:02:12 -0500	[thread overview]
Message-ID: <1242795740-21535-6-git-send-email-x00omar@ti.com> (raw)
In-Reply-To: <1242795740-21535-5-git-send-email-x00omar@ti.com>

From: Guzman Lugo Fernando <x0095840@ti.com>

This patch removes some variables that are not used.

Signed-off-by: Guzman Lugo Fernando <x0095840@ti.com>
Signed-off-by: Omar Ramirez Luna <x00omar@ti.com>
---
 arch/arm/plat-omap/include/dspbridge/cfgdefs.h |   10 ----------
 drivers/dsp/bridge/rmgr/drv.c                  |    2 --
 2 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/arch/arm/plat-omap/include/dspbridge/cfgdefs.h b/arch/arm/plat-omap/include/dspbridge/cfgdefs.h
index a2115f6..0155e13 100644
--- a/arch/arm/plat-omap/include/dspbridge/cfgdefs.h
+++ b/arch/arm/plat-omap/include/dspbridge/cfgdefs.h
@@ -77,15 +77,6 @@
 		u8 bIRQAttrib;	/* IRQ Attribute */
 		u32 dwOffsetForMonitor;	/* The Shared memory starts from
 					 * dwMemBase + this offset */
-		u32 dwBusType;	/* Bus type for this device */
-		u32 dwProgBase;	/* DSP ProgBase */
-		u32 dwProgLength;	/* DSP ProgBase Length */
-		u32 dwRegBase;	/* DSP memory mapped register base */
-		u32 dwRegLength;	/* DSP Register Base Length */
-		u32 ClientHandle;	/* Client Handle */
-		u32 SocketHandle;	/* Socket and Function Pair */
-		u32 CardInfo;	/* This will be used as a context data in
-				 * in the CardRequestIRQ */
 	/*
 	 *  Info needed by NODE for allocating channels to communicate with RMS:
 	 *      dwChnlOffset:       Offset of RMS channels. Lower channels are
@@ -104,7 +95,6 @@
 		void __iomem *dwWdTimerDspBase;
 		void __iomem *dwMboxBase;
 		void __iomem *dwDmmuBase;
-		u32 *dwDipiBase;
 		void __iomem *dwSysCtrlBase;
 	} ;
 
diff --git a/drivers/dsp/bridge/rmgr/drv.c b/drivers/dsp/bridge/rmgr/drv.c
index ae6ea7f..e7da578 100644
--- a/drivers/dsp/bridge/rmgr/drv.c
+++ b/drivers/dsp/bridge/rmgr/drv.c
@@ -1736,7 +1736,6 @@ static DSP_STATUS RequestBridgeResources(u32 dwContext, s32 bRequest)
 		/* Second window is for DSP external memory shared with MPU */
 		if (DSP_SUCCEEDED(status)) {
 			/* for Linux, these are hard-coded values */
-			pResources->dwBusType = 0;
 			pResources->bIRQRegisters = 0;
 			pResources->bIRQAttrib = 0;
 			pResources->dwOffsetForMonitor = 0;
@@ -1863,7 +1862,6 @@ static DSP_STATUS RequestBridgeResourcesDSP(u32 dwContext, s32 bRequest)
 		}
 		if (DSP_SUCCEEDED(status)) {
 			/* for Linux, these are hard-coded values */
-			pResources->dwBusType = 0;
 			pResources->bIRQRegisters = 0;
 			pResources->bIRQAttrib = 0;
 			pResources->dwOffsetForMonitor = 0;
-- 
1.6.2.4


  reply	other threads:[~2009-05-20  4:58 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-20  5:02 [PATCH 01/14] DSPBRIDGE: Remove SEEK_* redefinitions Omar Ramirez Luna
2009-05-20  5:02 ` [PATCH 02/14] DSPBRIDGE: Removes wrappers funtions of readl and writel Omar Ramirez Luna
2009-05-20  5:02   ` [PATCH 03/14] DSPBRIDGE: Fixed Double notification when a sys_error happens Omar Ramirez Luna
2009-05-20  5:02     ` [PATCH 04/14] DSPBRIDGE: Fixed typo in debug traces Omar Ramirez Luna
2009-05-20  5:02       ` [PATCH 05/14] DSPBRIDGE: Change address resources to void __iomem * Omar Ramirez Luna
2009-05-20  5:02         ` Omar Ramirez Luna [this message]
2009-05-20  5:02           ` [PATCH 07/14] DSPBRIDGE: base image reload suppor after DSP error Omar Ramirez Luna
2009-05-20  5:02             ` [PATCH 08/14] DSPBRIDGE: trivial spacing cleanup for memory module Omar Ramirez Luna
2009-05-20  5:02               ` [PATCH 09/14] DSPBRIDGE: Fixing indentation Omar Ramirez Luna
2009-05-20  5:02                 ` [PATCH 10/14] BRIDGE: Number of supported OPPs increased to 5 Omar Ramirez Luna
2009-05-20  5:02                   ` [PATCH 11/14] DSPBRIDGE: New PWRERROR event notification Omar Ramirez Luna
2009-05-20  5:02                     ` [PATCH 12/14] DSPBRIDGE: Remove all resources on driver exit Omar Ramirez Luna
2009-05-20  5:02                       ` [PATCH 13/14] DSPBRIDGE: Stop and reset DSP before removing constraints Omar Ramirez Luna
2009-05-20  5:02                         ` [PATCH 14/14] DSPBRIDGE: Remove run_IdleBoot support Omar Ramirez Luna
2009-05-20 13:42 ` [PATCH 01/14] DSPBRIDGE: Remove SEEK_* redefinitions Felipe Contreras
2009-05-20 15:04   ` Ramirez Luna, Omar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1242795740-21535-6-git-send-email-x00omar@ti.com \
    --to=x00omar@ti.com \
    --cc=Hiroshi.DOYU@nokia.com \
    --cc=ameya.palande@nokia.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=x0095840@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.