提交 fc50c6e3 编写于 作者: A Alexander Aring 提交者: Marcel Holtmann

at86rf230: make at86rf230_async_error inline

This patch makes the at86rf230_async_error inline. This function is
small enough to handle inline.
Signed-off-by: NAlexander Aring <alex.aring@gmail.com>
Reviewed-by: NStefan Schmidt <s.schmidt@samsung.com>
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
上级 5f5c5c23
...@@ -450,7 +450,7 @@ at86rf230_async_error_recover(void *context) ...@@ -450,7 +450,7 @@ at86rf230_async_error_recover(void *context)
ieee802154_wake_queue(lp->hw); ieee802154_wake_queue(lp->hw);
} }
static void static inline void
at86rf230_async_error(struct at86rf230_local *lp, at86rf230_async_error(struct at86rf230_local *lp,
struct at86rf230_state_change *ctx, int rc) struct at86rf230_state_change *ctx, int rc)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册