diff options
author | 2015-03-25 12:35:11 -0700 | |
---|---|---|
committer | 2015-03-27 14:26:13 -0700 | |
commit | ebbd96fb2861f591df011cd0eac67dd367596cca (patch) | |
tree | 13f882e9dd5d369747dd07424cd8e6828246b056 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: bcmgenet: modify Tx ring int_enable and int_disable vectors (diff) | |
download | wireguard-linux-ebbd96fb2861f591df011cd0eac67dd367596cca.tar.xz wireguard-linux-ebbd96fb2861f591df011cd0eac67dd367596cca.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions