diff options
| author | Petri Gynther <pgynther@google.com> | 2015-03-25 22:35:11 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2015-03-28 00:26:13 +0300 |
| commit | ebbd96fb2861f591df011cd0eac67dd367596cca (patch) | |
| tree | 13f882e9dd5d369747dd07424cd8e6828246b056 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 9dbac28fc193e3972f566f120dce67d69a1df634 (diff) | |
| download | linux-ebbd96fb2861f591df011cd0eac67dd367596cca.tar.xz | |
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 <pgynther@google.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Jaedon Shin <jaedon.shin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
