Skip to content

Commit

Permalink
ath6kl: remove chatty debug messages on ath6kl driver ops
Browse files Browse the repository at this point in the history
These do not help in any way.

Cc: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Luis R. Rodriguez authored and Greg Kroah-Hartman committed Apr 5, 2011
1 parent 437c567 commit 628a7dd
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ static void ath6kl_hifdev_remove(struct sdio_func *func)
{
int status = 0;
struct hif_device *device;
AR_DEBUG_ASSERT(func != NULL);

device = ath6kl_get_hifdev(func);
if (device->claimedContext != NULL)
Expand All @@ -159,8 +158,6 @@ static void ath6kl_hifdev_remove(struct sdio_func *func)
CleanupHIFScatterResources(device);

delHifDevice(device);
AR_DEBUG_ASSERT(status == 0);
AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: -hifDeviceRemoved\n"));
}

#if defined(CONFIG_PM)
Expand All @@ -171,7 +168,6 @@ static int ath6kl_hifdev_suspend(struct device *dev)
struct hif_device *device;

device = ath6kl_get_hifdev(func);
AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: +ath6kl_hifdev_suspend\n"));

if (device && device->claimedContext &&
osdrvCallbacks.deviceSuspendHandler) {
Expand All @@ -184,7 +180,6 @@ static int ath6kl_hifdev_suspend(struct device *dev)
}

CleanupHIFScatterResources(device);
AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: -ath6kl_hifdev_suspend\n"));

switch (status) {
case 0:
Expand All @@ -204,15 +199,13 @@ static int ath6kl_hifdev_resume(struct device *dev)
struct hif_device *device;

device = ath6kl_get_hifdev(func);
AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: +ath6kl_hifdev_resume\n"));
if (device && device->claimedContext &&
osdrvCallbacks.deviceSuspendHandler) {
status = osdrvCallbacks.
deviceResumeHandler(device->claimedContext);
if (status == 0)
device->is_suspend = false;
}
AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: -ath6kl_hifdev_resume\n"));

return status;
}
Expand Down

0 comments on commit 628a7dd

Please sign in to comment.