[OpenACC] Remove (unused) 'GOMP_MAP_ALWAYS_FROM' handling from 'libgomp/oacc-mem...
authorThomas Schwinge <thomas@codesourcery.com>
Thu, 14 May 2020 17:17:32 +0000 (19:17 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Fri, 3 Jul 2020 15:14:21 +0000 (17:14 +0200)
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

index 936ae649dd934be6403705a3a22b337d74f06440..1a0cd4caf287b92df491cefec95b1806d2fd6ac0 100644 (file)
@@ -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.  */