summaryrefslogtreecommitdiffstats
path: root/drivers/net/ieee802154/cc2520.c
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-10-28 18:21:22 +0100
committerMarcel Holtmann <marcel@holtmann.org>2014-10-28 23:19:07 +0100
commite1d299f61a1660cbbabccfa0d07421861b9b9711 (patch)
tree28435c6467f30291de83917c64ed85765ab4e6f6 /drivers/net/ieee802154/cc2520.c
parent59cb300f2b2ce1fc46696deb9a7bd066cd53a65a (diff)
mac802154: remove might_sleep from driver layer
This patch removes all might_sleep calls from driver layer. This handling is already done by mac802154 layer. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/net/ieee802154/cc2520.c')
-rw-r--r--drivers/net/ieee802154/cc2520.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ieee802154/cc2520.c b/drivers/net/ieee802154/cc2520.c
index 78ea2cadeb7..c56d10c7ccf 100644
--- a/drivers/net/ieee802154/cc2520.c
+++ b/drivers/net/ieee802154/cc2520.c
@@ -574,7 +574,6 @@ cc2520_set_channel(struct ieee802154_hw *hw, u8 page, u8 channel)
struct cc2520_private *priv = hw->priv;
int ret;
- might_sleep();
dev_dbg(&priv->spi->dev, "trying to set channel\n");
BUG_ON(page != 0);