[Open-FCoE] [PATCH 03/15] fcoe-utils: remove unused SA_LOG_EXIT macro

Robert Love robert.w.love at intel.com
Thu Jul 16 17:00:36 UTC 2009


This macro is not used, so this patch removes it.

Signed-off-by: Robert Love <robert.w.love at intel.com>
---

 fcoemon_utils.h |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/fcoemon_utils.h b/fcoemon_utils.h
index ede607d..baf7b9c 100644
--- a/fcoemon_utils.h
+++ b/fcoemon_utils.h
@@ -68,14 +68,6 @@ void sa_log_abort(const char *);	/* log message and abort */
 /*
  * Logging exits.
  */
-#define SA_LOG_EXIT(...) \
-	do {								\
-		sa_log_func(__func__, __VA_ARGS__);			\
-		sa_log_func(__func__, "exiting at %s:%d",		\
-			__FILE__, __LINE__);				\
-		exit(1);						\
-	} while (0)
-
 #define SA_LOG_ERR_EXIT(error, ...) \
 	do {								\
 		sa_log_func(__func__, __VA_ARGS__);			\




More information about the devel mailing list