Commit 8bca663a authored by dingsenjie's avatar dingsenjie Committed by Mauro Carvalho Chehab

media: media/usb:Remove superfluous "breaks"

Remove superfluous "breaks", as there is a "return" before them.
Signed-off-by: default avatardingsenjie <dingsenjie@yulong.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent f0b8bbd3
...@@ -861,7 +861,6 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id ...@@ -861,7 +861,6 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id
break; break;
default: default:
return -ENODEV; return -ENODEV;
break;
} }
} }
else if (vendor_id == 0x069A) { else if (vendor_id == 0x069A) {
...@@ -873,7 +872,6 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id ...@@ -873,7 +872,6 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id
break; break;
default: default:
return -ENODEV; return -ENODEV;
break;
} }
} }
else if (vendor_id == 0x046d) { else if (vendor_id == 0x046d) {
...@@ -932,7 +930,6 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id ...@@ -932,7 +930,6 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id
break; break;
default: default:
return -ENODEV; return -ENODEV;
break;
} }
} }
else if (vendor_id == 0x055d) { else if (vendor_id == 0x055d) {
...@@ -958,7 +955,6 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id ...@@ -958,7 +955,6 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id
break; break;
default: default:
return -ENODEV; return -ENODEV;
break;
} }
} }
else if (vendor_id == 0x041e) { else if (vendor_id == 0x041e) {
...@@ -977,7 +973,6 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id ...@@ -977,7 +973,6 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id
break; break;
default: default:
return -ENODEV; return -ENODEV;
break;
} }
} }
else if (vendor_id == 0x04cc) { else if (vendor_id == 0x04cc) {
...@@ -989,7 +984,6 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id ...@@ -989,7 +984,6 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id
break; break;
default: default:
return -ENODEV; return -ENODEV;
break;
} }
} }
else if (vendor_id == 0x06be) { else if (vendor_id == 0x06be) {
...@@ -1002,7 +996,6 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id ...@@ -1002,7 +996,6 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id
break; break;
default: default:
return -ENODEV; return -ENODEV;
break;
} }
} }
...@@ -1020,7 +1013,6 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id ...@@ -1020,7 +1013,6 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id
break; break;
default: default:
return -ENODEV; return -ENODEV;
break;
} }
} }
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment