base: Remove unused M5_PRAGMA_NORETURN
The M5_PRAGMA_NORETURN macro was only used in for __exit_message. Since the macro only holds a stub definition and all functions with noreturn semantics use the M5_ATTR_NORETURN, this macros is completely redundant.
This commit is contained in:
parent
25f5a6733c
commit
eb9226317d
2 changed files with 0 additions and 2 deletions
|
@ -47,7 +47,6 @@
|
|||
|
||||
#if defined(__GNUC__)
|
||||
#define M5_ATTR_NORETURN __attribute__((noreturn))
|
||||
#define M5_PRAGMA_NORETURN(x)
|
||||
#define M5_DUMMY_RETURN
|
||||
#define M5_VAR_USED __attribute__((unused))
|
||||
|
||||
|
|
|
@ -71,7 +71,6 @@ __exit_message(const char *prefix, int code,
|
|||
VARARGS_ALLARGS);
|
||||
}
|
||||
|
||||
M5_PRAGMA_NORETURN(__exit_message)
|
||||
#define exit_message(prefix, code, ...) \
|
||||
__exit_message(prefix, code, __FUNCTION__, __FILE__, __LINE__, \
|
||||
__VA_ARGS__)
|
||||
|
|
Loading…
Reference in a new issue