From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 18A08385840A; Thu, 10 Mar 2022 19:21:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 18A08385840A Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc/azanella/clang] Remove unused sprofil.c functions X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/azanella/clang X-Git-Oldrev: 3a9578b322a953dd3938d0acd2cf571d8a77640e X-Git-Newrev: a1e5c80c44f4764b9616209f721ec2e186f7d857 Message-Id: <20220310192147.18A08385840A@sourceware.org> Date: Thu, 10 Mar 2022 19:21:47 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2022 19:21:47 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a1e5c80c44f4764b9616209f721ec2e186f7d857 commit a1e5c80c44f4764b9616209f721ec2e186f7d857 Author: Adhemerval Zanella Date: Thu Mar 10 08:08:37 2022 -0300 Remove unused sprofil.c functions Diff: --- sysdeps/posix/sprofil.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/sysdeps/posix/sprofil.c b/sysdeps/posix/sprofil.c index 5f03bd0e3b..785b817f96 100644 --- a/sysdeps/posix/sprofil.c +++ b/sysdeps/posix/sprofil.c @@ -163,18 +163,6 @@ profil_count (uintptr_t pcp, int prof_uint) } } -static inline void -profil_count_ushort (uintptr_t pcp) -{ - profil_count (pcp, 0); -} - -static inline void -profil_count_uint (uintptr_t pcp) -{ - profil_count (pcp, 1); -} - /* Get the machine-dependent definition of `__profil_counter', the signal handler for SIGPROF. It calls `profil_count' (above) with the PC of the interrupted code. */