mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 21:21:09 +00:00
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: David S. Miller <davem@davemloft.net>
This commit is contained in:
commit
d73cfd4283
1 changed files with 0 additions and 3 deletions
|
@ -218,7 +218,6 @@ static int
|
|||
cc2520_cmd_strobe(struct cc2520_private *priv, u8 cmd)
|
||||
{
|
||||
int ret;
|
||||
u8 status = 0xff;
|
||||
struct spi_message msg;
|
||||
struct spi_transfer xfer = {
|
||||
.len = 0,
|
||||
|
@ -236,8 +235,6 @@ cc2520_cmd_strobe(struct cc2520_private *priv, u8 cmd)
|
|||
priv->buf[0]);
|
||||
|
||||
ret = spi_sync(priv->spi, &msg);
|
||||
if (!ret)
|
||||
status = priv->buf[0];
|
||||
dev_vdbg(&priv->spi->dev,
|
||||
"buf[0] = %02x\n", priv->buf[0]);
|
||||
mutex_unlock(&priv->buffer_mutex);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue