V4L/DVB (12773): tm6000: fix module unregister

Signed-off-by: Michel Ludwig <michel.ludwig@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Michel Ludwig 2007-06-15 11:02:56 -03:00 committed by Mauro Carvalho Chehab
parent 22927e8e00
commit 8c9d26fd55

View File

@ -1535,7 +1535,7 @@ int tm6000_v4l2_unregister(struct tm6000_core *dev)
list_for_each_safe(pos, tmp, &tm6000_corelist) {
h = list_entry(pos, struct tm6000_core, tm6000_corelist);
if (h == dev) {
list_del(list);
list_del(pos);
}
}