mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
V4L/DVB (13561): gspca - main: Remove unnecessary set to alternate 0.
Calling gspca_set_alt0() in gspca_dev_probe() is not needed as gspca_set_alt0() will do nothing because gspca_dev->alt is always zero at that time. Signed-off-by: Márton Németh <nm127@freemail.hu> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
d50e257ee8
commit
747c710098
1 changed files with 0 additions and 3 deletions
|
@ -2046,9 +2046,6 @@ int gspca_dev_probe(struct usb_interface *intf,
|
|||
if (ret < 0)
|
||||
goto out;
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue