mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 03:05:40 +08:00
Eliminate some new warnings found in build testing.
This commit is contained in:
@@ -540,8 +540,6 @@ static int stm32_recvlong(FAR struct sdio_dev_s *dev, uint32_t cmd,
|
|||||||
uint32_t rlong[4]);
|
uint32_t rlong[4]);
|
||||||
static int stm32_recvshort(FAR struct sdio_dev_s *dev, uint32_t cmd,
|
static int stm32_recvshort(FAR struct sdio_dev_s *dev, uint32_t cmd,
|
||||||
uint32_t *rshort);
|
uint32_t *rshort);
|
||||||
static int stm32_recvnotimpl(FAR struct sdio_dev_s *dev, uint32_t cmd,
|
|
||||||
uint32_t *rnotimpl);
|
|
||||||
|
|
||||||
/* EVENT handler */
|
/* EVENT handler */
|
||||||
|
|
||||||
@@ -2676,17 +2674,6 @@ static int stm32_recvshort(FAR struct sdio_dev_s *dev, uint32_t cmd, uint32_t *r
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* MMC responses not supported */
|
|
||||||
|
|
||||||
static int stm32_recvnotimpl(FAR struct sdio_dev_s *dev, uint32_t cmd,
|
|
||||||
uint32_t *rnotimpl)
|
|
||||||
{
|
|
||||||
struct stm32_dev_s *priv = (struct stm32_dev_s *)dev;
|
|
||||||
sdmmc_putreg32(priv, STM32_SDMMC_RESPDONE_ICR | STM32_SDMMC_CMDDONE_ICR,
|
|
||||||
STM32_SDMMC_ICR_OFFSET);
|
|
||||||
return -ENOSYS;
|
|
||||||
}
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: stm32_waitenable
|
* Name: stm32_waitenable
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* net/igmp/igmp_poll.c
|
* net/igmp/igmp_poll.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2010, 2018 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* The NuttX implementation of IGMP was inspired by the IGMP add-on for the
|
* The NuttX implementation of IGMP was inspired by the IGMP add-on for the
|
||||||
@@ -46,6 +46,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
|
#include <nuttx/semaphore.h>
|
||||||
#include <nuttx/net/netconfig.h>
|
#include <nuttx/net/netconfig.h>
|
||||||
#include <nuttx/net/netdev.h>
|
#include <nuttx/net/netdev.h>
|
||||||
#include <nuttx/net/netstats.h>
|
#include <nuttx/net/netstats.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user