Commit d73cfd42 authored by David S. Miller's avatar David S. Miller

Merge tag 'ieee802154-for-davem-2019-11-13' of...

Merge tag 'ieee802154-for-davem-2019-11-13' of git://git.kernel.org/pub/scm/linux/kernel/git/sschmidt/wpan-next

Stefan Schmidt says:

====================
pull-request: ieee802154-next 2019-11-13

An update from ieee802154 for *net-next*

I waited until last minute to see if there are more patches coming in.
Seems not and we will only have one change for ieee802154 this time.

Yue Haibing removed an unused variable in the cc2520 driver.
====================
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents 07f23d90 693463e8
...@@ -218,7 +218,6 @@ static int ...@@ -218,7 +218,6 @@ static int
cc2520_cmd_strobe(struct cc2520_private *priv, u8 cmd) cc2520_cmd_strobe(struct cc2520_private *priv, u8 cmd)
{ {
int ret; int ret;
u8 status = 0xff;
struct spi_message msg; struct spi_message msg;
struct spi_transfer xfer = { struct spi_transfer xfer = {
.len = 0, .len = 0,
...@@ -236,8 +235,6 @@ cc2520_cmd_strobe(struct cc2520_private *priv, u8 cmd) ...@@ -236,8 +235,6 @@ cc2520_cmd_strobe(struct cc2520_private *priv, u8 cmd)
priv->buf[0]); priv->buf[0]);
ret = spi_sync(priv->spi, &msg); ret = spi_sync(priv->spi, &msg);
if (!ret)
status = priv->buf[0];
dev_vdbg(&priv->spi->dev, dev_vdbg(&priv->spi->dev,
"buf[0] = %02x\n", priv->buf[0]); "buf[0] = %02x\n", priv->buf[0]);
mutex_unlock(&priv->buffer_mutex); mutex_unlock(&priv->buffer_mutex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment