Commit 628a7dd8 authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by Greg Kroah-Hartman

ath6kl: remove chatty debug messages on ath6kl driver ops

These do not help in any way.

Cc: Naveen Singh <nsingh@atheros.com>
Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 437c567b
...@@ -144,7 +144,6 @@ static void ath6kl_hifdev_remove(struct sdio_func *func) ...@@ -144,7 +144,6 @@ static void ath6kl_hifdev_remove(struct sdio_func *func)
{ {
int status = 0; int status = 0;
struct hif_device *device; struct hif_device *device;
AR_DEBUG_ASSERT(func != NULL);
device = ath6kl_get_hifdev(func); device = ath6kl_get_hifdev(func);
if (device->claimedContext != NULL) if (device->claimedContext != NULL)
...@@ -159,8 +158,6 @@ static void ath6kl_hifdev_remove(struct sdio_func *func) ...@@ -159,8 +158,6 @@ static void ath6kl_hifdev_remove(struct sdio_func *func)
CleanupHIFScatterResources(device); CleanupHIFScatterResources(device);
delHifDevice(device); delHifDevice(device);
AR_DEBUG_ASSERT(status == 0);
AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: -hifDeviceRemoved\n"));
} }
#if defined(CONFIG_PM) #if defined(CONFIG_PM)
...@@ -171,7 +168,6 @@ static int ath6kl_hifdev_suspend(struct device *dev) ...@@ -171,7 +168,6 @@ static int ath6kl_hifdev_suspend(struct device *dev)
struct hif_device *device; struct hif_device *device;
device = ath6kl_get_hifdev(func); device = ath6kl_get_hifdev(func);
AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: +ath6kl_hifdev_suspend\n"));
if (device && device->claimedContext && if (device && device->claimedContext &&
osdrvCallbacks.deviceSuspendHandler) { osdrvCallbacks.deviceSuspendHandler) {
...@@ -184,7 +180,6 @@ static int ath6kl_hifdev_suspend(struct device *dev) ...@@ -184,7 +180,6 @@ static int ath6kl_hifdev_suspend(struct device *dev)
} }
CleanupHIFScatterResources(device); CleanupHIFScatterResources(device);
AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: -ath6kl_hifdev_suspend\n"));
switch (status) { switch (status) {
case 0: case 0:
...@@ -204,7 +199,6 @@ static int ath6kl_hifdev_resume(struct device *dev) ...@@ -204,7 +199,6 @@ static int ath6kl_hifdev_resume(struct device *dev)
struct hif_device *device; struct hif_device *device;
device = ath6kl_get_hifdev(func); device = ath6kl_get_hifdev(func);
AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: +ath6kl_hifdev_resume\n"));
if (device && device->claimedContext && if (device && device->claimedContext &&
osdrvCallbacks.deviceSuspendHandler) { osdrvCallbacks.deviceSuspendHandler) {
status = osdrvCallbacks. status = osdrvCallbacks.
...@@ -212,7 +206,6 @@ static int ath6kl_hifdev_resume(struct device *dev) ...@@ -212,7 +206,6 @@ static int ath6kl_hifdev_resume(struct device *dev)
if (status == 0) if (status == 0)
device->is_suspend = false; device->is_suspend = false;
} }
AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: -ath6kl_hifdev_resume\n"));
return status; return status;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment