From 22f443878788ac5ed50a713897a7a3d4471c68da Mon Sep 17 00:00:00 2001 From: Matt Wozniski Date: Fri, 1 Jun 2018 14:06:10 -0400 Subject: [PATCH] Prune atmel-samd errno list Remove errnos that are only raised by modules that aren't linked into the atmel-samd port. --- ports/atmel-samd/mpconfigport.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/ports/atmel-samd/mpconfigport.h b/ports/atmel-samd/mpconfigport.h index b338fb6bbf..eefc119574 100644 --- a/ports/atmel-samd/mpconfigport.h +++ b/ports/atmel-samd/mpconfigport.h @@ -294,7 +294,6 @@ extern const struct _mp_obj_module_t usb_hid_module; X(EPERM) \ X(ENOENT) \ X(EIO) \ - X(EBADF) \ X(EAGAIN) \ X(ENOMEM) \ X(EACCES) \ @@ -302,17 +301,6 @@ extern const struct _mp_obj_module_t usb_hid_module; X(ENODEV) \ X(EISDIR) \ X(EINVAL) \ - X(EOPNOTSUPP) \ - X(EADDRINUSE) \ - X(ECONNABORTED) \ - X(ECONNRESET) \ - X(ENOBUFS) \ - X(ENOTCONN) \ - X(ETIMEDOUT) \ - X(ECONNREFUSED) \ - X(EHOSTUNREACH) \ - X(EALREADY) \ - X(EINPROGRESS) \ // We need to provide a declaration/definition of alloca() #include