mirror of
https://github.com/linux-usb-gadgets/libusbgx.git
synced 2025-07-26 05:25:06 +03:00
uvc: remove unnedded USBG_UVC_MAX_PATH_LENGTH define
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
This commit is contained in:
parent
1c94fb860a
commit
4061ffdaa4
2 changed files with 2 additions and 5 deletions
|
@ -293,7 +293,7 @@ static int uvc_remove(struct usbg_function *f, int opts)
|
|||
usbg_f_uvc *uvcf = usbg_to_uvc_function(f);
|
||||
char streaming_path[USBG_MAX_PATH_LENGTH];
|
||||
char control_path[USBG_MAX_PATH_LENGTH];
|
||||
char path[USBG_UVC_MAX_PATH_LENGTH];
|
||||
char path[USBG_MAX_PATH_LENGTH];
|
||||
int ret = USBG_SUCCESS;
|
||||
unsigned nmb;
|
||||
|
||||
|
@ -356,7 +356,7 @@ int usbg_f_uvc_get_attrs(usbg_f_uvc *uvcf, struct usbg_f_uvc_attrs *attrs)
|
|||
|
||||
int usbg_f_uvc_set_attrs(usbg_f_uvc *uvcf, const struct usbg_f_uvc_attrs *attrs)
|
||||
{
|
||||
char path[USBG_UVC_MAX_PATH_LENGTH];
|
||||
char path[USBG_MAX_PATH_LENGTH];
|
||||
struct usbg_f_uvc_format_attrs **format_attrs;
|
||||
int ret = USBG_SUCCESS;
|
||||
unsigned nmb;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue