projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5bd0ba
)
staging: bcm: Misc.c: Remove unused macros
author
Marcos Paulo de Souza
<
[email protected]
>
Tue, 10 Jul 2012 01:32:40 +0000
(22:32 -0300)
committer
Greg Kroah-Hartman
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/bcm/Misc.c
patch
|
blob
|
history
diff --git
a/drivers/staging/bcm/Misc.c
b/drivers/staging/bcm/Misc.c
index d7c662d5f914decd05e6f7b7c4fc656becef642f..9a60d4cd2184aa188e80b946e5ba398bac04943f 100644
(file)
--- a/
drivers/staging/bcm/Misc.c
+++ b/
drivers/staging/bcm/Misc.c
@@
-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,