summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rt2860/common/cmm_mac_usb.c
diff options
context:
space:
mode:
authorL. Alberto Giménez <agimenez@sysvalve.es>2010-12-14 02:01:55 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-12-16 12:17:29 -0800
commit8c3d90921604951e306a898669c46a88578c5848 (patch)
tree58abcd1772a14eba5feed5f0b96d0997374e3e0f /drivers/staging/rt2860/common/cmm_mac_usb.c
parent3be305fd7c0d07cdbb175467b4fe706ea10eb732 (diff)
downloadop-kernel-dev-8c3d90921604951e306a898669c46a88578c5848.zip
op-kernel-dev-8c3d90921604951e306a898669c46a88578c5848.tar.gz
Staging: rt2860: Sanitize DBGPRINT_ERR macro
Cleaner implementation. Avoids the need of the double parenthesis to call the macro. Signed-off-by: L. Alberto Giménez <agimenez@sysvalve.es> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rt2860/common/cmm_mac_usb.c')
-rw-r--r--drivers/staging/rt2860/common/cmm_mac_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rt2860/common/cmm_mac_usb.c b/drivers/staging/rt2860/common/cmm_mac_usb.c
index 72731cb..64a65a4 100644
--- a/drivers/staging/rt2860/common/cmm_mac_usb.c
+++ b/drivers/staging/rt2860/common/cmm_mac_usb.c
@@ -236,7 +236,7 @@ int NICInitTransmit(struct rt_rtmp_adapter *pAd)
os_alloc_mem(pAd, (u8 **) (&pAd->MgmtDescRing.AllocVa),
pAd->MgmtDescRing.AllocSize);
if (pAd->MgmtDescRing.AllocVa == NULL) {
- DBGPRINT_ERR(("Failed to allocate a big buffer for MgmtDescRing!\n"));
+ DBGPRINT_ERR("Failed to allocate a big buffer for MgmtDescRing!\n");
Status = NDIS_STATUS_RESOURCES;
goto out1;
}
OpenPOWER on IntegriCloud