build: Avoid using noinline in common code

It's not necessary to use noinline for parsef() and stop_steppers().

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2017-05-11 11:56:11 -04:00
parent 039d3f0523
commit c35278e217
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ parse_int(char **pp)
}
// Parse an incoming command into 'args'
static noinline char *
static char *
parsef(char *p, char *maxend, const struct command_parser *cp, uint32_t *args)
{
if (sched_is_shutdown() && !(READP(cp->flags) & HF_IN_SHUTDOWN)) {

View File

@ -21,7 +21,7 @@ struct end_stop {
enum { ESF_PIN_HIGH=1<<0, ESF_HOMING=1<<1, ESF_REPORT=1<<2 };
static void noinline
static void
stop_steppers(struct end_stop *e)
{
e->flags = ESF_REPORT;