summaryrefslogtreecommitdiffstats
path: root/drivers/net/ieee802154/at86rf230.c
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-12-15 10:25:54 +0100
committerMarcel Holtmann <marcel@holtmann.org>2014-12-19 00:19:25 +0100
commitfc50c6e36de742229492117d8e005102a1d21900 (patch)
tree7463cded5fcc5888482637d40e47094dfa2fccde /drivers/net/ieee802154/at86rf230.c
parentat86rf230: remove if branch (diff)
downloadlinux-fc50c6e36de742229492117d8e005102a1d21900.tar.xz
linux-fc50c6e36de742229492117d8e005102a1d21900.zip
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: Alexander Aring <alex.aring@gmail.com> Reviewed-by: Stefan Schmidt <s.schmidt@samsung.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to '')
-rw-r--r--drivers/net/ieee802154/at86rf230.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c
index 59209f35ec6b..8fee326a6b96 100644
--- a/drivers/net/ieee802154/at86rf230.c
+++ b/drivers/net/ieee802154/at86rf230.c
@@ -450,7 +450,7 @@ at86rf230_async_error_recover(void *context)
ieee802154_wake_queue(lp->hw);
}
-static void
+static inline void
at86rf230_async_error(struct at86rf230_local *lp,
struct at86rf230_state_change *ctx, int rc)
{