usbdev: delete unsigned comparison with 0

The unsigned type is always greater than or equal to 0

Signed-off-by: zhaoxingyu1 <zhaoxingyu1@xiaomi.com>
This commit is contained in:
zhaoxingyu1 2024-07-16 10:44:55 +08:00 committed by Xiang Xiao
parent 17aec1328a
commit fa31c1c21b
1 changed files with 0 additions and 2 deletions

View File

@ -510,8 +510,6 @@ static int usbdev_fs_close(FAR struct file *filep)
fs_ep->crefs -= 1;
ASSERT(fs_ep->crefs >= 0);
if (fs_ep->unlinked && fs_ep->crefs == 0)
{
bool do_free = true;