]> git.baikalelectronics.ru Git - kernel.git/commit
net: bcmgenet: bcmgenet_init_tx_ring() cleanup
authorPetri Gynther <pgynther@google.com>
Mon, 23 Feb 2015 19:00:45 +0000 (11:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Feb 2015 16:39:04 +0000 (11:39 -0500)
commit4bf0aac6568e50a6953470fb06b7e889585e3bdc
treea5aa4b7377c665a2eae800f73ba0d40699603801
parentd01a4b7604f4a4e6e745d2987fff7e01481b8f17
net: bcmgenet: bcmgenet_init_tx_ring() cleanup

1. Simplify function description
2. Rename function parameter write_ptr to start_ptr to better indicate use
3. Remove unnecessary local variable first_bd
4. Remove out-of-place comment "Unclassified traffic goes to ring 16"
5. Fix TDMA_WRITE_PTR register init

Signed-off-by: Petri Gynther <pgynther@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c