]> git.karo-electronics.de Git - linux-beck.git/commitdiff
at86rf230: make at86rf230_async_error inline
authorAlexander Aring <alex.aring@gmail.com>
Mon, 15 Dec 2014 09:25:54 +0000 (10:25 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 18 Dec 2014 23:19:25 +0000 (00:19 +0100)
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>
drivers/net/ieee802154/at86rf230.c

index 59209f35ec6b2238a585654cfac3ee7547470fa3..8fee326a6b9618019271b447f890f10d60cc6223 100644 (file)
@@ -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)
 {