staging: rtl8192e: Remove DMESG macro
It is used in several places, but expands to nothing. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1e16cb17d5
commit
9d9d0e3698
4 changed files with 0 additions and 10 deletions
|
@ -41,7 +41,6 @@ void rtl8192e_start_beacon(struct net_device *dev)
|
||||||
u16 BcnCW = 6;
|
u16 BcnCW = 6;
|
||||||
u16 BcnIFS = 0xf;
|
u16 BcnIFS = 0xf;
|
||||||
|
|
||||||
DMESG("Enabling beacon TX");
|
|
||||||
rtl8192_irq_disable(dev);
|
rtl8192_irq_disable(dev);
|
||||||
|
|
||||||
write_nic_word(dev, ATIMWND, 2);
|
write_nic_word(dev, ATIMWND, 2);
|
||||||
|
|
|
@ -2723,8 +2723,6 @@ static int rtl8192_pci_probe(struct pci_dev *pdev,
|
||||||
release_mem_region(pmem_start, pmem_len);
|
release_mem_region(pmem_start, pmem_len);
|
||||||
err_rel_rtllib:
|
err_rel_rtllib:
|
||||||
free_rtllib(dev);
|
free_rtllib(dev);
|
||||||
|
|
||||||
DMESG("wlan driver load failed\n");
|
|
||||||
err_pci_disable:
|
err_pci_disable:
|
||||||
pci_disable_device(pdev);
|
pci_disable_device(pdev);
|
||||||
return err;
|
return err;
|
||||||
|
@ -2830,7 +2828,6 @@ static int __init rtl8192_pci_module_init(void)
|
||||||
pr_info("Copyright (c) 2007-2008, Realsil Wlan Driver\n");
|
pr_info("Copyright (c) 2007-2008, Realsil Wlan Driver\n");
|
||||||
|
|
||||||
if (0 != pci_register_driver(&rtl8192_pci_driver)) {
|
if (0 != pci_register_driver(&rtl8192_pci_driver)) {
|
||||||
DMESG("No device found");
|
|
||||||
/*pci_unregister_driver (&rtl8192_pci_driver);*/
|
/*pci_unregister_driver (&rtl8192_pci_driver);*/
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
}
|
}
|
||||||
|
|
|
@ -818,13 +818,9 @@ static int r8192_wx_set_retry(struct net_device *dev,
|
||||||
}
|
}
|
||||||
if (wrqu->retry.flags & IW_RETRY_MAX) {
|
if (wrqu->retry.flags & IW_RETRY_MAX) {
|
||||||
priv->retry_rts = wrqu->retry.value;
|
priv->retry_rts = wrqu->retry.value;
|
||||||
DMESG("Setting retry for RTS/CTS data to %d",
|
|
||||||
wrqu->retry.value);
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
priv->retry_data = wrqu->retry.value;
|
priv->retry_data = wrqu->retry.value;
|
||||||
DMESG("Setting retry for non RTS/CTS data to %d",
|
|
||||||
wrqu->retry.value);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -30,8 +30,6 @@
|
||||||
#define DRV_NAME "rtllib_92e"
|
#define DRV_NAME "rtllib_92e"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define DMESG(x, a...)
|
|
||||||
|
|
||||||
extern u32 rt_global_debug_component;
|
extern u32 rt_global_debug_component;
|
||||||
|
|
||||||
/* These are the defines for rt_global_debug_component */
|
/* These are the defines for rt_global_debug_component */
|
||||||
|
|
Loading…
Add table
Reference in a new issue