This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit ebddc8d8ee28a7510d230403ab1352c57bb94ace Author: Petro Karashchenko <[email protected]> AuthorDate: Sat Aug 24 13:21:58 2024 -0400 drivers/usbhost: remove unused function Signed-off-by: Petro Karashchenko <[email protected]> --- drivers/usbhost/usbhost_bthci.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/usbhost/usbhost_bthci.c b/drivers/usbhost/usbhost_bthci.c index 1b14a0b778..ed0fc1d0e9 100644 --- a/drivers/usbhost/usbhost_bthci.c +++ b/drivers/usbhost/usbhost_bthci.c @@ -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 *
