Message ID | E3280858FA94444CA49D2BA02341C98361E0FFD9@orsmsx506.amr.corp.intel.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/dapl/openib_common/mem.c b/dapl/openib_common/mem.c index b286f8c..ddf85a4 100644 --- a/dapl/openib_common/mem.c +++ b/dapl/openib_common/mem.c @@ -55,10 +55,6 @@ STATIC _INLINE_ int dapls_convert_privileges(IN DAT_MEM_PRIV_FLAGS privileges) access |= IBV_ACCESS_REMOTE_WRITE; if (DAT_MEM_PRIV_REMOTE_READ_FLAG & privileges) access |= IBV_ACCESS_REMOTE_READ; - if (DAT_MEM_PRIV_REMOTE_READ_FLAG & privileges) - access |= IBV_ACCESS_REMOTE_READ; - if (DAT_MEM_PRIV_REMOTE_READ_FLAG & privileges) - access |= IBV_ACCESS_REMOTE_READ; #ifdef DAT_EXTENSIONS if (DAT_IB_MEM_PRIV_REMOTE_ATOMIC & privileges) access |= IBV_ACCESS_REMOTE_ATOMIC;