arch/x86: remove old PRINTK() debugging macro

This appears to date all the way back to the initial import
and is used in exactly one place if DEBUG is on. Removed.

Signed-off-by: Charles E. Youse <charles.youse@intel.com>
This commit is contained in:
Charles E. Youse 2019-06-23 20:38:24 +00:00 committed by Andrew Boie
commit 4bdbd879ef
2 changed files with 0 additions and 10 deletions

View file

@ -238,9 +238,6 @@ void _FpNotAvailableExcHandler(NANO_ESF *pEsf)
* error checking to ensure the exception was not generated in an ISR.)
*/
PRINTK("_FpNotAvailableExcHandler() exception handler has been "
"invoked\n");
/* Enable highest level of FP capability configured into the kernel */
k_float_enable(_current, _FP_USER_MASK);

View file

@ -117,13 +117,6 @@ extern void z_x86_thread_entry_wrapper(k_thread_entry_t entry,
void *p1, void *p2, void *p3);
#endif /* _THREAD_WRAPPER_REQUIRED */
#ifdef DEBUG
#include <misc/printk.h>
#define PRINTK(...) printk(__VA_ARGS__)
#else
#define PRINTK(...)
#endif /* DEBUG */
#ifdef __cplusplus
extern "C" {
#endif