Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions ImageStreamIO.c
Original file line number Diff line number Diff line change
Expand Up @@ -1440,15 +1440,6 @@ errno_t ImageStreamIO_createIm_gpu(
return IMAGESTREAMIO_FAILURE; // _filename did _printERROR
}

// - Ensure GPU SHM buffer file does not exist
struct stat buffer;
if ((stat(SM_fname, &buffer) == 0) && (location > -1))
{
ImageStreamIO_printERROR(IMAGESTREAMIO_FILEEXISTS,
"Error creating GPU SHM buffer on an existing file");
return IMAGESTREAMIO_FILEEXISTS;
}

char name_tmp[STRINGMAXLEN_IMAGE_NAME] = {0};
strcat(name_tmp, name);
strcat(name_tmp, "_tmpcreate");
Expand Down