[PATCH 1/1] staging: sep: Remove un-needed debug prints

Previous thread: [PATCH 1/1] staging: sep: Add comment to TODO to clean up un-needed debug prints by Mark Allyn on Tuesday, January 4, 2011 - 1:56 pm. (1 message)

Next thread: Annuaire des Subventions au Québec 2011 by Subventions Québec 2011 on Tuesday, January 4, 2011 - 3:06 pm. (1 message)
From: Mark Allyn
Date: Tuesday, January 4, 2011 - 1:57 pm

Signed-off-by: Mark Allyn <mark.a.allyn@intel.com>
---
 drivers/staging/sep/sep_driver.c |  223 ++++----------------------------------
 1 files changed, 20 insertions(+), 203 deletions(-)

diff --git a/drivers/staging/sep/sep_driver.c b/drivers/staging/sep/sep_driver.c
index ac5d569..a1b0bfe 100644
--- a/drivers/staging/sep/sep_driver.c
+++ b/drivers/staging/sep/sep_driver.c
@@ -107,12 +107,8 @@ static int sep_load_firmware(struct sep_device *sep)
 	sep->resident_size = fw->size;
 	release_firmware(fw);
 
-	dev_dbg(&sep->pdev->dev, "resident virtual is %p\n",
-		sep->resident_addr);
 	dev_dbg(&sep->pdev->dev, "resident bus is %lx\n",
 		(unsigned long)sep->resident_bus);
-	dev_dbg(&sep->pdev->dev, "resident size is %08zx\n",
-		sep->resident_size);
 
 	/* Set addresses for dcache (no loading needed) */
 	work1 = (unsigned long)sep->resident_bus;
@@ -141,12 +137,8 @@ static int sep_load_firmware(struct sep_device *sep)
 	sep->cache_size = fw->size;
 	release_firmware(fw);
 
-	dev_dbg(&sep->pdev->dev, "cache virtual is %p\n",
-		sep->cache_addr);
 	dev_dbg(&sep->pdev->dev, "cache bus is %08lx\n",
 		(unsigned long)sep->cache_bus);
-	dev_dbg(&sep->pdev->dev, "cache size is %08zx\n",
-		sep->cache_size);
 
 	/* Set addresses and load extapp */
 	sep->extapp_bus = sep->cache_bus + (1024 * 370);
@@ -162,12 +154,8 @@ static int sep_load_firmware(struct sep_device *sep)
 	sep->extapp_size = fw->size;
 	release_firmware(fw);
 
-	dev_dbg(&sep->pdev->dev, "extapp virtual is %p\n",
-		sep->extapp_addr);
 	dev_dbg(&sep->pdev->dev, "extapp bus is %08llx\n",
 		(unsigned long long)sep->extapp_bus);
-	dev_dbg(&sep->pdev->dev, "extapp size is %08zx\n",
-		sep->extapp_size);
 
 	return error;
 }
@@ -218,7 +206,6 @@ static int sep_map_and_alloc_shared_area(struct sep_device *sep)
  */
 static void sep_unmap_and_free_shared_area(struct sep_device *sep)
 {
-	dev_dbg(&sep->pdev->dev, "shared area unmap and free\n");
 	dma_free_coherent(&sep->pdev->dev, sep->shared_size,
 ...
Previous thread: [PATCH 1/1] staging: sep: Add comment to TODO to clean up un-needed debug prints by Mark Allyn on Tuesday, January 4, 2011 - 1:56 pm. (1 message)

Next thread: Annuaire des Subventions au Québec 2011 by Subventions Québec 2011 on Tuesday, January 4, 2011 - 3:06 pm. (1 message)