summaryrefslogtreecommitdiffstats
path: root/drivers/net/8139too.c
diff options
context:
space:
mode:
authorJonas Bonn <jonas@southpole.se>2010-06-11 04:47:40 +0200
committerDavid S. Miller <davem@davemloft.net>2010-06-11 22:28:37 +0200
commita71fba97295db924c0b90266e9833e5059fead24 (patch)
treed6be811cf4910167ed83fdfb2bdcd51d0c7bf0fd /drivers/net/8139too.c
parentethoc: Clear command buffer after write (diff)
downloadlinux-a71fba97295db924c0b90266e9833e5059fead24.tar.xz
linux-a71fba97295db924c0b90266e9833e5059fead24.zip
ethoc: use devres resource management
The point of using the devres resource management routines is that they simplify the driver by taking care of releasing resources on failure and release. A recent commit added a bunch of error handling that is unnecessary in this context. This patch removes this redundant error handling, as well as using dmam_alloc_coherent in place of dma_alloc_coherent in order to use this framework consistenly throughout the driver. Signed-off-by: Jonas Bonn <jonas@southpole.se> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/8139too.c')
0 files changed, 0 insertions, 0 deletions