summaryrefslogtreecommitdiff
path: root/drivers/parport/parport_amiga.c
diff options
context:
space:
mode:
authorSriharsha Basavapatna <sriharsha.basavapatna@emulex.com>2015-02-16 05:33:46 +0300
committerDavid S. Miller <davem@davemloft.net>2015-02-20 22:06:57 +0300
commit79a0d7d8e0b2981dabc241cbeec6b99620dd7c5b (patch)
tree304adb4fe401990e5d456a5887166a5ab3fa90c9 /drivers/parport/parport_amiga.c
parent804abcdbdbb68df5ca8cf7e70366522f02298029 (diff)
downloadlinux-79a0d7d8e0b2981dabc241cbeec6b99620dd7c5b.tar.xz
be2net: Refactor be_xmit_enqueue() routine
- Reduce code duplication by moving WRB-frags setup into a function. - Do not setup WRB-header before frags are setup, which is unncessary if there's errors while setting up frags. We should only grab an entry for the header, setup the frags and if everything is fine setup the header. - The error cleanup can be moved into a small function. Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/parport/parport_amiga.c')
0 files changed, 0 insertions, 0 deletions