kni: optimize single thread loop
authorJay Rolette <rolette@infiniteio.com>
Wed, 3 Jun 2015 19:18:55 +0000 (14:18 -0500)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 16 Jun 2015 14:36:59 +0000 (16:36 +0200)
commitda9cc0b9df1f9a6caa9ce19e743e9aae8cd858cb
tree1c024c1d30420794f71ef754f04e576183e2d5a4
parentc077fb455f7e298041a8bc8f5de1544df8b42282
kni: optimize single thread loop

Do not need the 'safe' version of list_for_each_entry() if you are
not deleting from the list as you iterate over it.

Signed-off-by: Jay Rolette <rolette@infiniteio.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
lib/librte_eal/linuxapp/kni/kni_misc.c