summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorPetri Gynther <pgynther@google.com>2015-03-25 22:35:11 +0300
committerDavid S. Miller <davem@davemloft.net>2015-03-28 00:26:13 +0300
commitebbd96fb2861f591df011cd0eac67dd367596cca (patch)
tree13f882e9dd5d369747dd07424cd8e6828246b056 /drivers/mtd
parent9dbac28fc193e3972f566f120dce67d69a1df634 (diff)
downloadlinux-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 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions