aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorJan Beulich <[email protected]>2016-10-24 15:03:49 +0000
committerDavid Vrabel <[email protected]>2016-10-24 15:08:04 +0000
commite1e5b3ff41983f506c3cbcf123fe7d682f61a8f1 (patch)
tree8c2ef836dd61dd49e72389e6f39e332141cec5bf /net/switchdev/switchdev.c
parentx86: xen: move cpu_up functions out of ifdef (diff)
downloadkernel-e1e5b3ff41983f506c3cbcf123fe7d682f61a8f1.tar.gz
kernel-e1e5b3ff41983f506c3cbcf123fe7d682f61a8f1.zip
xenbus: prefer list_for_each()
This is more efficient than list_for_each_safe() when list modification is accompanied by breaking out of the loop. Signed-off-by: Jan Beulich <[email protected]> Reviewed-by: Juergen Gross <[email protected]> Signed-off-by: David Vrabel <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions