diff mbox

[COMMITTED] tzset: Remove __attribute_noinline__ from compute_offset

Message ID 20170303082232.AA94542550870@oldenburg.str.redhat.com
State New
Headers show

Commit Message

Florian Weimer March 3, 2017, 8:22 a.m. UTC
After commit 42261ad731991df345880b0b509d83b0b9a9b9d8,
compute_offset is only called once, so not inlining it
increases executable size.

2017-03-03  Florian Weimer  <fweimer@redhat.com>

	* time/tzset.c (compute_offset): Remove __attribute_noinline__.
diff mbox

Patch

diff --git a/time/tzset.c b/time/tzset.c
index eb42069..404f1db 100644
--- a/time/tzset.c
+++ b/time/tzset.c
@@ -168,7 +168,6 @@  update_vars (void)
 
 
 static unsigned int
-__attribute_noinline__
 compute_offset (unsigned int ss, unsigned int mm, unsigned int hh)
 {
   return min (ss, 59) + min (mm, 59) * 60 + min (hh, 24) * 60 * 60;