@@ -44,7 +44,6 @@ static int usbd_video_control_request_handler(uint8_t busid, struct usb_setup_pa
4444 case VIDEO_REQUEST_GET_INFO :
4545 break ;
4646 default :
47- USB_LOG_WRN ("Unhandled Video Class bRequest 0x%02x\r\n" , setup -> bRequest );
4847 return -1 ;
4948 }
5049
@@ -58,7 +57,6 @@ static int usbd_video_control_request_handler(uint8_t busid, struct usb_setup_pa
5857 case VIDEO_REQUEST_GET_INFO :
5958 break ;
6059 default :
61- USB_LOG_WRN ("Unhandled Video Class bRequest 0x%02x\r\n" , setup -> bRequest );
6260 return -1 ;
6361 }
6462
@@ -91,7 +89,6 @@ static int usbd_video_control_unit_terminal_request_handler(uint8_t busid, struc
9189 * len = 1 ;
9290 break ;
9391 default :
94- USB_LOG_WRN ("Unhandled Video Class bRequest 0x%02x\r\n" , setup -> bRequest );
9592 return -1 ;
9693 }
9794 break ;
@@ -127,7 +124,6 @@ static int usbd_video_control_unit_terminal_request_handler(uint8_t busid, struc
127124 * len = 4 ;
128125 } break ;
129126 default :
130- USB_LOG_WRN ("Unhandled Video Class bRequest 0x%02x\r\n" , setup -> bRequest );
131127 return -1 ;
132128 }
133129 break ;
@@ -163,7 +159,6 @@ static int usbd_video_control_unit_terminal_request_handler(uint8_t busid, struc
163159 * len = 2 ;
164160 } break ;
165161 default :
166- USB_LOG_WRN ("Unhandled Video Class bRequest 0x%02x\r\n" , setup -> bRequest );
167162 return -1 ;
168163 }
169164 break ;
@@ -199,7 +194,6 @@ static int usbd_video_control_unit_terminal_request_handler(uint8_t busid, struc
199194 * len = 2 ;
200195 } break ;
201196 default :
202- USB_LOG_WRN ("Unhandled Video Class bRequest 0x%02x\r\n" , setup -> bRequest );
203197 return -1 ;
204198 }
205199 break ;
@@ -235,7 +229,6 @@ static int usbd_video_control_unit_terminal_request_handler(uint8_t busid, struc
235229 * len = 2 ;
236230 } break ;
237231 default :
238- USB_LOG_WRN ("Unhandled Video Class bRequest 0x%02x\r\n" , setup -> bRequest );
239232 return -1 ;
240233 }
241234 break ;
@@ -247,16 +240,13 @@ static int usbd_video_control_unit_terminal_request_handler(uint8_t busid, struc
247240 * len = 2 ;
248241 } break ;
249242 default :
250- USB_LOG_WRN ("Unhandled Video Class bRequest 0x%02x\r\n" , setup -> bRequest );
251243 return -1 ;
252244 }
253245 break ;
254246 default :
255- USB_LOG_WRN ("Unhandled Video Class control selector 0x%02x\r\n" , control_selector );
256247 return -1 ;
257248 }
258249 } else {
259- USB_LOG_WRN ("Unhandled Video Class wTerminalType 0x%02x\r\n" , entity_info -> wTerminalType );
260250 return -2 ;
261251 }
262252 break ;
@@ -298,7 +288,6 @@ static int usbd_video_control_unit_terminal_request_handler(uint8_t busid, struc
298288 * len = 2 ;
299289 } break ;
300290 default :
301- USB_LOG_WRN ("Unhandled Video Class bRequest 0x%02x\r\n" , setup -> bRequest );
302291 return -1 ;
303292 }
304293 break ;
@@ -337,7 +326,6 @@ static int usbd_video_control_unit_terminal_request_handler(uint8_t busid, struc
337326 * len = 2 ;
338327 } break ;
339328 default :
340- USB_LOG_WRN ("Unhandled Video Class bRequest 0x%02x\r\n" , setup -> bRequest );
341329 return -1 ;
342330 }
343331 break ;
@@ -373,7 +361,6 @@ static int usbd_video_control_unit_terminal_request_handler(uint8_t busid, struc
373361 * len = 2 ;
374362 } break ;
375363 default :
376- USB_LOG_WRN ("Unhandled Video Class bRequest 0x%02x\r\n" , setup -> bRequest );
377364 return -1 ;
378365 }
379366 break ;
@@ -409,7 +396,6 @@ static int usbd_video_control_unit_terminal_request_handler(uint8_t busid, struc
409396 * len = 2 ;
410397 } break ;
411398 default :
412- USB_LOG_WRN ("Unhandled Video Class bRequest 0x%02x\r\n" , setup -> bRequest );
413399 return -1 ;
414400 }
415401 break ;
@@ -440,7 +426,6 @@ static int usbd_video_control_unit_terminal_request_handler(uint8_t busid, struc
440426 * len = 2 ;
441427 } break ;
442428 default :
443- USB_LOG_WRN ("Unhandled Video Class bRequest 0x%02x\r\n" , setup -> bRequest );
444429 return -1 ;
445430 }
446431 break ;
@@ -471,7 +456,6 @@ static int usbd_video_control_unit_terminal_request_handler(uint8_t busid, struc
471456 * len = 2 ;
472457 } break ;
473458 default :
474- USB_LOG_WRN ("Unhandled Video Class bRequest 0x%02x\r\n" , setup -> bRequest );
475459 return -1 ;
476460 }
477461 break ;
@@ -502,7 +486,6 @@ static int usbd_video_control_unit_terminal_request_handler(uint8_t busid, struc
502486 * len = 2 ;
503487 } break ;
504488 default :
505- USB_LOG_WRN ("Unhandled Video Class bRequest 0x%02x\r\n" , setup -> bRequest );
506489 return -1 ;
507490 }
508491 break ;
@@ -538,7 +521,6 @@ static int usbd_video_control_unit_terminal_request_handler(uint8_t busid, struc
538521 * len = 2 ;
539522 } break ;
540523 default :
541- USB_LOG_WRN ("Unhandled Video Class bRequest 0x%02x\r\n" , setup -> bRequest );
542524 return -1 ;
543525 }
544526 break ;
@@ -550,13 +532,11 @@ static int usbd_video_control_unit_terminal_request_handler(uint8_t busid, struc
550532 * len = 1 ;
551533 } break ;
552534 default :
553- USB_LOG_WRN ("Unhandled Video Class bRequest 0x%02x\r\n" , setup -> bRequest );
554535 return -1 ;
555536 }
556537 break ;
557538 default :
558539 g_usbd_video [busid ].error_code = 0x06 ;
559- USB_LOG_WRN ("Unhandled Video Class control selector 0x%02x\r\n" , control_selector );
560540 return -1 ;
561541 }
562542 break ;
@@ -606,7 +586,6 @@ static int usbd_video_stream_request_handler(uint8_t busid, struct usb_setup_pac
606586 break ;
607587
608588 default :
609- USB_LOG_WRN ("Unhandled Video Class bRequest 0x%02x\r\n" , setup -> bRequest );
610589 return -1 ;
611590 }
612591 break ;
@@ -638,7 +617,6 @@ static int usbd_video_stream_request_handler(uint8_t busid, struct usb_setup_pac
638617 break ;
639618
640619 default :
641- USB_LOG_WRN ("Unhandled Video Class bRequest 0x%02x\r\n" , setup -> bRequest );
642620 return -1 ;
643621 }
644622 break ;
@@ -653,7 +631,6 @@ static int usbd_video_stream_request_handler(uint8_t busid, struct usb_setup_pac
653631 * len = 1 ;
654632 break ;
655633 default :
656- USB_LOG_WRN ("Unhandled Video Class bRequest 0x%02x\r\n" , setup -> bRequest );
657634 return -1 ;
658635 }
659636 break ;
0 commit comments