mirror of
https://github.com/torvalds/linux.git
synced 2024-12-14 23:25:54 +00:00
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:
parent
22927e8e00
commit
8c9d26fd55
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user