alistair23-linux/drivers/staging/mei
Tomas Winkler b7cd2d9fdc staging/mei: don't check if list is empty before looping
1. No need to check if a list is empty before list_for_each_ looping as
this is already checked by loop stopping conditional.

The side effect is reduced indentation depth
from:
	if (!list_empty)
		list_for_each()
to:
	list_for_each()

2. drop cb_ prefix from cl_pos, cl_next variables used in list_for_each
loops. The code is more compact and readable

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-11-28 06:46:18 +09:00
..
hw.h staging/mei: Hardware and MEI driver internal struct definition 2011-05-18 08:30:58 -07:00
init.c staging/mei: don't check if list is empty before looping 2011-11-28 06:46:18 +09:00
interface.c drivers/staging/mei/interface.c: take size of pointed value, not pointer 2011-09-16 20:49:18 +02:00
interface.h staging: mei: adding set_timeout watchdog function 2011-09-09 13:28:20 -07:00
interrupt.c staging/mei: don't check if list is empty before looping 2011-11-28 06:46:18 +09:00
iorw.c staging/mei: don't check if list is empty before looping 2011-11-28 06:46:18 +09:00
Kconfig staging: mei: adding watchdog core dependency to kconfig 2011-09-09 13:28:21 -07:00
main.c staging/mei: don't check if list is empty before looping 2011-11-28 06:46:18 +09:00
Makefile staging/mei: add mei to staging Kbuild 2011-05-18 08:30:59 -07:00
mei.h staging/mei: mei.h defining user space interface 2011-05-18 08:30:58 -07:00
mei.txt staging/mei: MEI Driver documentations 2011-05-18 08:30:55 -07:00
mei_dev.h staging/mei: remove status member of mei_io_list 2011-11-28 06:46:17 +09:00
mei_version.h staging/mei: PCI device and char driver support. 2011-05-18 08:30:56 -07:00
TODO staging: mei: clean the TODO file from done tasks. 2011-10-17 15:46:48 -07:00
wd.c staging:mei: wd_ops and wd_info should be static 2011-11-26 16:05:13 -08:00