drivers/usbhost: remove unused function
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
parent
f40b09cbc9
commit
ebddc8d8ee
|
@ -126,8 +126,6 @@ static inline void usbhost_freeclass(FAR struct usbhost_state_s *usbclass);
|
|||
|
||||
static int usbhost_allocdevno(FAR struct usbhost_state_s *priv);
|
||||
static void usbhost_freedevno(FAR struct usbhost_state_s *priv);
|
||||
static inline void usbhost_mkdevname(FAR struct usbhost_state_s *priv,
|
||||
FAR char *devname);
|
||||
|
||||
/* Worker thread actions */
|
||||
|
||||
|
@ -326,12 +324,6 @@ static void usbhost_freedevno(FAR struct usbhost_state_s *priv)
|
|||
}
|
||||
}
|
||||
|
||||
static inline void usbhost_mkdevname(FAR struct usbhost_state_s *priv,
|
||||
FAR char *devname)
|
||||
{
|
||||
snprintf(devname, DEV_NAMELEN, DEV_FORMAT, priv->devchar);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Name: usbhost_destroy
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue