From 995aba5867b1c64b2b56a200ef16b135effe85f7 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 14 May 2020 19:17:32 +0200 Subject: [PATCH] [OpenACC] Remove (unused) 'GOMP_MAP_ALWAYS_FROM' handling from 'libgomp/oacc-mem.c:goacc_exit_data_internal' This had gotten added in commit 378da98fcc907d05002bcd3d6ff7951f0cf485e5 (r279621) "OpenACC reference count overhaul", but it doesn't have any use in OpenACC. libgomp/ * oacc-mem.c (goacc_exit_data_internal): Remove 'GOMP_MAP_ALWAYS_FROM' handling. --- libgomp/oacc-mem.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libgomp/oacc-mem.c b/libgomp/oacc-mem.c index 936ae649dd9..1a0cd4caf28 100644 --- a/libgomp/oacc-mem.c +++ b/libgomp/oacc-mem.c @@ -1102,7 +1102,6 @@ goacc_exit_data_internal (struct gomp_device_descr *acc_dev, size_t mapnum, { case GOMP_MAP_FROM: case GOMP_MAP_FORCE_FROM: - case GOMP_MAP_ALWAYS_FROM: copyfrom = true; /* Fallthrough. */ -- 2.30.2