Skip to content

Commit fdbaf63

Browse files
committed
Remove NOP call from nanoCLR littlefs driver
***NO_CI***
1 parent fa8220a commit fdbaf63

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

targets/netcore/littlefs/littlefs_FS_Driver.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//
1+
//
22
// Copyright (c) .NET Foundation and Contributors
33
// See LICENSE file in the project root for full license information.
44
//
@@ -178,7 +178,6 @@ HRESULT LITTLEFS_FS_Driver::Open(const VOLUME_ID *volume, const char *path, void
178178

179179
if (result == LFS_ERR_CORRUPT)
180180
{
181-
__NOP();
182181
NANOCLR_SET_AND_LEAVE(CLR_E_FILE_IO);
183182
}
184183

@@ -260,7 +259,6 @@ HRESULT LITTLEFS_FS_Driver::Close(void *handle)
260259

261260
if (result == LFS_ERR_CORRUPT)
262261
{
263-
__NOP();
264262
NANOCLR_SET_AND_LEAVE(CLR_E_FILE_IO);
265263
}
266264
else

0 commit comments

Comments
 (0)