fs/nfs: fix coding style issue

Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
This commit is contained in:
dongjiuzhu1 2023-08-01 09:58:01 +08:00 committed by Xiang Xiao
parent eab86b72c4
commit 80004ef07d

View file

@ -1252,19 +1252,19 @@ static off_t nfs_seek(FAR struct file *filep, off_t offset, int whence)
switch (whence)
{
case SEEK_SET:
break;
break;
case SEEK_CUR:
offset += filep->f_pos;
break;
offset += filep->f_pos;
break;
case SEEK_END:
offset += np->n_size;
break;
offset += np->n_size;
break;
default:
nxmutex_unlock(&nmp->nm_lock);
return -EINVAL;
nxmutex_unlock(&nmp->nm_lock);
return -EINVAL;
}
if (offset >= 0)