summaryrefslogtreecommitdiff
path: root/drivers/mtd/onenand/generic.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2015-05-29 01:24:42 +0300
committerDavid S. Miller <davem@davemloft.net>2015-05-31 09:51:09 +0300
commitbaf387a8edaa4a55afeaf4f498d3891ddcb03fb7 (patch)
tree004fa2cfa90e25253e0f0a9986bb049820137ed0 /drivers/mtd/onenand/generic.c
parent3d2f6d41d1588c975d16c5969726d018bba90794 (diff)
downloadlinux-baf387a8edaa4a55afeaf4f498d3891ddcb03fb7.tar.xz
net: systemport: Pre-calculate and utilize cb->bd_addr
There is a 1:1 mapping between the software maintained control block in priv->rx_cbs and the buffer address in priv->rx_bds, such that there is no need to keep computing the buffer address when refiling a control block. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/mtd/onenand/generic.c')
0 files changed, 0 insertions, 0 deletions