diff options
-rw-r--r-- | include/common.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/common.h b/include/common.h index cd6aec2fa8..9dd375a2d8 100644 --- a/include/common.h +++ b/include/common.h @@ -178,13 +178,6 @@ #define TARGET_WITH_MARGIN(target, tenths_percent) \ (((target) * 1000) / (1000 + (tenths_percent))) -/* Call a function, and return the error value unless it returns EC_SUCCESS. */ -#define RETURN_ERROR(fn) do { \ - int error = (fn); \ - if (error != EC_SUCCESS) \ - return error; \ -} while (0) - /* Include top-level configuration file */ #include "config.h" |