[PATCH 2/3] Inline release_id in voicecall.c
Zhang, Zhenhua
zhenhua.zhang at intel.com
Tue Oct 27 17:42:03 PDT 2009
Inline release_id() in voicecall.c
---
drivers/atmodem/voicecall.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/atmodem/voicecall.c b/drivers/atmodem/voicecall.c
index f0c8d93..51b3a19 100644
--- a/drivers/atmodem/voicecall.c
+++ b/drivers/atmodem/voicecall.c
@@ -104,7 +104,7 @@ static unsigned int alloc_next_id(struct voicecall_data *d)
return 0;
}
-static void release_id(struct voicecall_data *d, unsigned int id)
+static inline void release_id(struct voicecall_data *d, unsigned int id)
{
d->id_list &= ~(0x1 << id);
}
--
1.6.2.5
Regards,
Zhenhua
More information about the ofono
mailing list