From: Petar Jovanovic Date: Fri, 16 Dec 2016 18:31:57 +0000 (+0000) Subject: mips: remove some old cruft from clone functions X-Git-Tag: svn/VALGRIND_3_13_0~233 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98d36af988eae481203312a7c3288e0705901b86;p=thirdparty%2Fvalgrind.git mips: remove some old cruft from clone functions Follow up to r16186 when this cruft was noticed. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16188 --- diff --git a/coregrind/m_syswrap/syswrap-linux.c b/coregrind/m_syswrap/syswrap-linux.c index aa00a5fd45..aa596ed227 100644 --- a/coregrind/m_syswrap/syswrap-linux.c +++ b/coregrind/m_syswrap/syswrap-linux.c @@ -711,10 +711,7 @@ static SysRes do_clone ( ThreadId ptid, VG_TRACK( pre_thread_ll_exit, ctid ); } -#if defined(VGP_mips64_linux) || defined(VGP_mips32_linux) - // ??? why do we set unconditionally r2 to 0, even when error out ??? - ptst->arch.vex.guest_r2 = 0; -#elif defined(VGP_tilegx_linux) +#if defined(VGP_tilegx_linux) // ??? why do we set unconditionally r0 to 0, even when error out ??? ptst->arch.vex.guest_r0 = 0; #endif