diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-04-14 12:07:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-14 20:57:10 +0200 |
commit | b38c83dd08665a93e439c4ffd9eef31bc098a6ea (patch) | |
tree | e35af7b479d02c713b303d24bbf60442e0f52bc8 /drivers/net/ethernet/jme.c | |
parent | toshiba: Remove celleb from Kconfig options (diff) | |
download | linux-b38c83dd08665a93e439c4ffd9eef31bc098a6ea.tar.xz linux-b38c83dd08665a93e439c4ffd9eef31bc098a6ea.zip |
bgmac: simplify tx ring index handling
Keep incrementing ring->start and ring->end instead of pointing it to
the actual ring slot entry. This simplifies the calculation of the
number of free slots.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Acked-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/jme.c')
0 files changed, 0 insertions, 0 deletions