diff mbox

gspca main: remove unnecessary set to alternate 0

Message ID 4B124BF4.3080809@freemail.hu (mailing list archive)
State Accepted
Headers show

Commit Message

Németh Márton Nov. 29, 2009, 10:24 a.m. UTC
None
diff mbox

Patch

diff -r 064a82aa2daa linux/drivers/media/video/gspca/gspca.c
--- a/linux/drivers/media/video/gspca/gspca.c	Thu Nov 26 19:36:40 2009 +0100
+++ b/linux/drivers/media/video/gspca/gspca.c	Sun Nov 29 11:14:23 2009 +0100
@@ -2066,9 +2060,6 @@ 
 	ret = sd_desc->init(gspca_dev);
 	if (ret < 0)
 		goto out;
-	ret = gspca_set_alt0(gspca_dev);
-	if (ret < 0)
-		goto out;
 	gspca_set_default_mode(gspca_dev);

 	mutex_init(&gspca_dev->usb_lock);