diff options
| author | Petri Gynther <[email protected]> | 2015-03-25 12:35:11 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-03-27 14:26:13 -0700 |
| commit | ebbd96fb2861f591df011cd0eac67dd367596cca (patch) | |
| tree | 13f882e9dd5d369747dd07424cd8e6828246b056 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 9dbac28fc193e3972f566f120dce67d69a1df634 (diff) | |
net: bcmgenet: simplify bcmgenet_init_dma()
Do the two kcalloc() calls first, before proceeding into Rx/Tx DMA init.
Makes the error case handling much simpler.
Signed-off-by: Petri Gynther <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Reviewed-by: Jaedon Shin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions