summaryrefslogtreecommitdiff
path: root/drivers/ntb
diff options
context:
space:
mode:
authorPetri Gynther <pgynther@google.com>2015-02-23 11:00:45 -0800
committerDavid S. Miller <davem@davemloft.net>2015-02-24 11:39:04 -0500
commit014012a49148d6968afabb0e8d638fad5f65b72d (patch)
tree29aba3605435b984beafee37a78c6cf3ffbda788 /drivers/ntb
parent16c6d667883f41d3e06cf5f6bba964057e67895a (diff)
net: bcmgenet: precalculate TxCB->bd_addr
There is 1-to-1 mapping between TxCBs and TxBDs. Precalculate TxCB->bd_addr once in bcmgenet_init_dma() instead of doing it over and over needlessly in bcmgenet_get_txcb(). Signed-off-by: Petri Gynther <pgynther@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ntb')
0 files changed, 0 insertions, 0 deletions