]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
staging: brcm80211: removed unused phy logging
authorRoland Vossen <rvossen@broadcom.com>
Fri, 26 Aug 2011 13:19:38 +0000 (15:19 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 26 Aug 2011 17:53:14 +0000 (10:53 -0700)
Macro's were not used so they were removed.

Reviewed-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/mac80211_if.c
drivers/staging/brcm80211/brcmsmac/phy/phy_cmn.c
drivers/staging/brcm80211/brcmsmac/phy/phy_int.h

index 9b787e6c0880939d5e45a3ba4f971b883fd33602..01829db4fe81e0b8c99c2a9cf5ac98b282aa0304 100644 (file)
@@ -105,8 +105,6 @@ MODULE_DEVICE_TABLE(pci, brcms_pci_id_table);
 #ifdef BCMDBG
 static int msglevel = 0xdeadbeef;
 module_param(msglevel, int, 0);
-static int phymsglevel = 0xdeadbeef;
-module_param(phymsglevel, int, 0);
 #endif                         /* BCMDBG */
 
 #define HW_TO_WL(hw)    (hw->priv)
@@ -1282,8 +1280,6 @@ static int __init brcms_module_init(void)
 #ifdef BCMDBG
        if (msglevel != 0xdeadbeef)
                brcm_msg_level = msglevel;
-       if (phymsglevel != 0xdeadbeef)
-               phyhal_msg_level = phymsglevel;
 #endif                         /* BCMDBG */
 
        error = pci_register_driver(&brcms_pci_driver);
index 3d54a3942a682806d4364651f254d5fc370bc7b6..bd602de84d14feeeb0aeef1773f5f60f98d11c7d 100644 (file)
@@ -27,8 +27,6 @@
 #include "phy_lcn.h"
 #include "phyreg_n.h"
 
-u32 phyhal_msg_level = PHYHAL_ERROR;
-
 struct chan_info_basic {
        u16 chan;
        u16 freq;
index 7ec2ad253e8f348d48443c0bfae5c36c5eb2c7b8..a06e7190bcdb2b404a1269d561692e9c6dff283f 100644 (file)
 
 #define        PHY_VERSION                     { 1, 82, 8, 0 }
 
-#define PHYHAL_ERROR   0x0001
-#define PHYHAL_TRACE   0x0002
-#define PHYHAL_INFORM  0x0004
-
-extern u32 phyhal_msg_level;
-
-#define PHY_INFORM_ON()                (phyhal_msg_level & PHYHAL_INFORM)
-#define PHY_THERMAL_ON()       (phyhal_msg_level & PHYHAL_THERMAL)
-#define PHY_CAL_ON()           (phyhal_msg_level & PHYHAL_CAL)
-
-#ifdef BOARD_TYPE
-#define BOARDTYPE(_type) BOARD_TYPE
-#else
-#define BOARDTYPE(_type) _type
-#endif
-
 #define LCNXN_BASEREV          16
 
 struct phy_shim_info;