forked from luck/tmp_suning_uos_patched
ebd4f1501e
[ Upstream commit 9f1f4b642451d35667a4dc6a9c0a89d954b530a3 ]
'dev' will *always* be set by list_for_each_entry().
It is incorrect to assume that the iterator value will be NULL if the
list is empty.
Instead of checking the pointer it should be checked if
the list is empty.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
saa7134-alsa.c | ||
saa7134-cards.c | ||
saa7134-core.c | ||
saa7134-dvb.c | ||
saa7134-empress.c | ||
saa7134-go7007.c | ||
saa7134-i2c.c | ||
saa7134-input.c | ||
saa7134-reg.h | ||
saa7134-ts.c | ||
saa7134-tvaudio.c | ||
saa7134-vbi.c | ||
saa7134-video.c | ||
saa7134.h |