atutil: Remove unused macro
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Mon, 10 Dec 2012 10:37:19 +0000 (11:37 +0100)
committerDenis Kenzior <denkenz@gmail.com>
Mon, 17 Dec 2012 15:50:22 +0000 (09:50 -0600)
With commit 6ee21a3fc18460cc12dbddb3b7ec70e941fa4bbc
the usage DECLARE_FAILURE was removed.

drivers/atmodem/atutil.h

index b17a4a5..48b9b0d 100644 (file)
@@ -112,11 +112,6 @@ static inline int at_util_convert_signal_strength(int strength)
        return result;
 }
 
-#define DECLARE_FAILURE(e)                     \
-       struct ofono_error e;                   \
-       e.type = OFONO_ERROR_TYPE_FAILURE;      \
-       e.error = 0                             \
-
 #define CALLBACK_WITH_FAILURE(cb, args...)             \
        do {                                            \
                struct ofono_error cb_e;                \