Skip to content

Commit

Permalink
drivers/can/mcp2515.c: Eliminate some warnings found in build testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
gregory-nutt committed Apr 25, 2019
1 parent ee5298e commit 149e507
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/can/mcp2515.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 149e507

Please sign in to comment.