From 87bb51ce02e37ff030333fd73bece73e08094bcf Mon Sep 17 00:00:00 2001 From: Yurii Shestakov Date: Thu, 27 May 2021 14:35:51 +0000 Subject: [PATCH] Removed obsolete (unused) patches Signed-off-by: Yurii Shestakov --- ucx-config.patch | 35 ----------------------------------- ucx-gcc11.patch | 13 ------------- 2 files changed, 48 deletions(-) delete mode 100644 ucx-config.patch delete mode 100644 ucx-gcc11.patch diff --git a/ucx-config.patch b/ucx-config.patch deleted file mode 100644 index 2ee4837..0000000 --- a/ucx-config.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff --git a/config/m4/sysdep.m4 b/config/m4/sysdep.m4 -index b1e5485..0133803 100644 ---- a/config/m4/sysdep.m4 -+++ b/config/m4/sysdep.m4 -@@ -158,7 +158,7 @@ AC_MSG_CHECKING([malloc hooks]) - SAVE_CFLAGS=$CFLAGS - CFLAGS="$CFLAGS $CFLAGS_NO_DEPRECATED" - CHECK_CROSS_COMP([AC_LANG_SOURCE([#include -- static int rc = 1; -+ static volatile int rc = 1; - void *ptr; - void *myhook(size_t size, const void *caller) { - rc = 0; -diff --git a/configure b/configure -index db54a6a..fa4352d 100755 ---- a/configure -+++ b/configure -@@ -22221,7 +22221,7 @@ CFLAGS="$CFLAGS $CFLAGS_NO_DEPRECATED" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - #include -- static int rc = 1; -+ volatile static int rc = 1; - void *ptr; - void *myhook(size_t size, const void *caller) { - rc = 0; -@@ -22252,7 +22252,7 @@ else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - #include -- static int rc = 1; -+ volatile static int rc = 1; - void *ptr; - void *myhook(size_t size, const void *caller) { - rc = 0; diff --git a/ucx-gcc11.patch b/ucx-gcc11.patch deleted file mode 100644 index 7d887ed..0000000 --- a/ucx-gcc11.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/ucs/datastruct/mpool.inl b/src/ucs/datastruct/mpool.inl -index d06e2f9..6b32406 100644 ---- a/src/ucs/datastruct/mpool.inl -+++ b/src/ucs/datastruct/mpool.inl -@@ -71,7 +71,7 @@ static inline ucs_mpool_t *ucs_mpool_obj_owner(void *obj) - - static inline void ucs_mpool_put_inline(void *obj) - { -- ucs_mpool_elem_t *elem; -+ ucs_mpool_elem_t * volatile elem; - ucs_mpool_t *mp; - - elem = ucs_mpool_obj_to_elem(obj);