From: Michel Ludwig Date: Fri, 15 Jun 2007 14:02:56 +0000 (-0300) Subject: V4L/DVB (12773): tm6000: fix module unregister X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8c9d26fd55ac7378ad0e2afd2bd122fa060bdaee;p=openwrt%2Fstaging%2Fblogic.git V4L/DVB (12773): tm6000: fix module unregister Signed-off-by: Michel Ludwig Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/tm6000/tm6000-video.c b/drivers/staging/tm6000/tm6000-video.c index ffd2fe7ed984..41073ed2cb59 100644 --- a/drivers/staging/tm6000/tm6000-video.c +++ b/drivers/staging/tm6000/tm6000-video.c @@ -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); } }