All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] atutil: Remove unused macro
@ 2012-12-10 10:37 Daniel Wagner
  2012-12-17 15:51 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Wagner @ 2012-12-10 10:37 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 734 bytes --]

From: Daniel Wagner <daniel.wagner@bmw-carit.de>

With commit 6ee21a3fc18460cc12dbddb3b7ec70e941fa4bbc
the usage DECLARE_FAILURE was removed.
---
 drivers/atmodem/atutil.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/atmodem/atutil.h b/drivers/atmodem/atutil.h
index b17a4a5..48b9b0d 100644
--- 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;		\
-- 
1.8.0.rc0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] atutil: Remove unused macro
  2012-12-10 10:37 [PATCH] atutil: Remove unused macro Daniel Wagner
@ 2012-12-17 15:51 ` Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2012-12-17 15:51 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 355 bytes --]

Hi Daniel,

On 12/10/2012 04:37 AM, Daniel Wagner wrote:
> From: Daniel Wagner<daniel.wagner@bmw-carit.de>
>
> With commit 6ee21a3fc18460cc12dbddb3b7ec70e941fa4bbc
> the usage DECLARE_FAILURE was removed.
> ---
>   drivers/atmodem/atutil.h | 5 -----
>   1 file changed, 5 deletions(-)
>

Patch has been applied, thanks.

Regards,
-Denis


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-17 15:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-10 10:37 [PATCH] atutil: Remove unused macro Daniel Wagner
2012-12-17 15:51 ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.