projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11875b7
)
atutil: Remove unused macro
author
Daniel Wagner
<daniel.wagner@bmw-carit.de>
Mon, 10 Dec 2012 10:37:19 +0000
(11:37 +0100)
committer
Denis 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
patch
|
blob
|
history
diff --git
a/drivers/atmodem/atutil.h
b/drivers/atmodem/atutil.h
index
b17a4a5
..
48b9b0d
100644
(file)
--- a/
drivers/atmodem/atutil.h
+++ b/
drivers/atmodem/atutil.h
@@
-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; \