diff options
| author | Petri Gynther <pgynther@google.com> | 2015-02-23 11:00:45 -0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2015-02-24 11:39:04 -0500 |
| commit | 014012a49148d6968afabb0e8d638fad5f65b72d (patch) | |
| tree | 29aba3605435b984beafee37a78c6cf3ffbda788 /net/lapb/lapb_subr.c | |
| parent | 16c6d667883f41d3e06cf5f6bba964057e67895a (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 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
