drivers/can/mcp2515.c: Eliminate some warnings found in build testing.

This commit is contained in:
Gregory Nutt 2019-04-25 12:07:52 -06:00
parent ee5298e046
commit 149e50798a
1 changed files with 0 additions and 2 deletions

View File

@ -1343,7 +1343,6 @@ static void mcp2515_rxint(FAR struct can_dev_s *dev, bool enable)
FAR struct mcp2515_can_s *priv;
FAR struct mcp2515_config_s *config;
irqstate_t flags;
uint8_t regval;
DEBUGASSERT(dev);
priv = dev->cd_priv;
@ -1390,7 +1389,6 @@ static void mcp2515_txint(FAR struct can_dev_s *dev, bool enable)
{
FAR struct mcp2515_can_s *priv = dev->cd_priv;
irqstate_t flags;
uint8_t regval;
DEBUGASSERT(priv && priv->config);