Skip to content

Commit bbcce02

Browse files
committed
hal_mmd: remove unnecessary signal handler checks
1 parent cc7aca4 commit bbcce02

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/acl_hal_mmd.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1374,9 +1374,6 @@ static int src_dev_done;
13741374
static int dst_dev_done;
13751375
static void l_dev_to_dev_copy_handler(int handle, void *user_data,
13761376
aocl_mmd_op_t op, int status) {
1377-
acl_sig_started();
1378-
// NOTE: all exit points of this function must first call acl_sig_finished()
1379-
13801377
// Removing Windows warning
13811378
user_data = user_data;
13821379
handle = handle;
@@ -1387,8 +1384,6 @@ static void l_dev_to_dev_copy_handler(int handle, void *user_data,
13871384
dst_dev_done = 1;
13881385
} else
13891386
assert(0 && "dev_to_dev_copy got unexpected event");
1390-
1391-
acl_sig_finished();
13921387
}
13931388

13941389
// **************************************************************************

0 commit comments

Comments
 (0)