diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-04-12 12:53:19 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-04-12 12:53:19 -0600 |
commit | 5fbbc21f13770cc35c3e61e3109c125d03f172eb (patch) | |
tree | 1c1278108c7fe21ea7534a274a6994ae4ed2b6cc /nuttx/drivers/mmcsd | |
parent | 387c4ace106479e457033b1717051ec55b8d673e (diff) | |
download | nuttx-5fbbc21f13770cc35c3e61e3109c125d03f172eb.tar.gz nuttx-5fbbc21f13770cc35c3e61e3109c125d03f172eb.tar.bz2 nuttx-5fbbc21f13770cc35c3e61e3109c125d03f172eb.zip |
Make sure that there is one space between if and condition
Diffstat (limited to 'nuttx/drivers/mmcsd')
-rw-r--r-- | nuttx/drivers/mmcsd/mmcsd_spi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/drivers/mmcsd/mmcsd_spi.c b/nuttx/drivers/mmcsd/mmcsd_spi.c index 1512ef085..fe3f34e15 100644 --- a/nuttx/drivers/mmcsd/mmcsd_spi.c +++ b/nuttx/drivers/mmcsd/mmcsd_spi.c @@ -1351,6 +1351,8 @@ static ssize_t mmcsd_write(FAR struct inode *inode, const unsigned char *buffer, /* Convert sector and nsectors to nbytes and byte offset */ nbytes = nsectors * SECTORSIZE(slot); + UNUSED(nbytes); + if (IS_BLOCK(slot->type)) { offset = start_sector; |