fs/hostfs/hostfs.c: Remove a redundant assignment

Found by clang-check:

hostfs/hostfs.c:1081:3: warning: Value stored to 'ret' is never read
  ret = OK; /* Assume success */
  ^     ~~
1 warning generated.
This commit is contained in:
YAMAMOTO Takashi 2020-07-30 13:18:21 +09:00 committed by Alin Jerpelea
parent e79298bc34
commit ba4a7107df

View File

@ -1078,8 +1078,6 @@ static int hostfs_unbind(FAR void *handle, FAR struct inode **blkdriver,
/* Check if there are sill any files opened on the filesystem. */
ret = OK; /* Assume success */
ret = hostfs_semtake(fs);
if (ret < 0)
{