summaryrefslogtreecommitdiff
path: root/staging/send_eth.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-08-30 11:46:29 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-08-30 11:46:29 +0200
commite6033f49decf5d1e6e9929cbefb7c099d8766964 (patch)
tree5f2dfd10889a8bc30f84eb8c106aa6037e7900f7 /staging/send_eth.c
parent5e67d9ebf4cfb76f359ea25ad425de81f80700cc (diff)
netsniff-ng: Simplify dump file creation logic
Instead of using goto, just check stats if stat() returned 0 and used ctx->dump_dir afterwards. This makes the logic a bit easier to follow. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'staging/send_eth.c')
0 files changed, 0 insertions, 0 deletions
net-next.git/diff/arch/sh/kernel/cpu/sh4a/clock-sh7723.c?h=nds-private-remove&id=5db4992d8f040b8d8db0b86d42806e0c417f7ccf&id2=370ebb0ef6255132373ed35d13e7b1d8d2eb7003'>diff)
usbnet: pegasus: Use net_device_stats from struct net_devicends-private-remove
Instead of using a private copy of struct net_device_stats in struct pegasus, use stats from struct net_device. Also remove the now unnecessary .ndo_get_stats function. Cc: Petko Manolov <petkan@nucleusys.com> Cc: linux-usb@vger.kernel.org Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'arch/sh/kernel/cpu/sh4a/clock-sh7723.c')