]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: bcm: Misc.c: Remove unused macros
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>
Tue, 10 Jul 2012 01:32:40 +0000 (22:32 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jul 2012 00:04:42 +0000 (17:04 -0700)
These macros were reported by forgotten-macros tool
(https://github.com/marcosps/forgotten_macros).

Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/Misc.c

index d7c662d5f914decd05e6f7b7c4fc656becef642f..9a60d4cd2184aa188e80b946e5ba398bac04943f 100644 (file)
@@ -1206,9 +1206,6 @@ static void convertEndian(B_UINT8 rwFlag, PUINT puiBuffer, UINT uiByteCount)
        }
 }
 
-#define CACHE_ADDRESS_MASK 0x80000000
-#define UNCACHE_ADDRESS_MASK 0xa0000000
-
 int rdm(struct bcm_mini_adapter *Adapter, UINT uiAddress, PCHAR pucBuff, size_t sSize)
 {
        return Adapter->interface_rdm(Adapter->pvInterfaceAdapter,