summaryrefslogtreecommitdiff
path: root/nuttx/drivers/bch
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-05-28 23:45:05 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-05-28 23:45:05 +0000
commit2c5f9e8a3d36d8849cb7181cf047f8e0352e7d85 (patch)
treef45b6a9d7f0bc6db7059935b7953f5c04f1b1ef4 /nuttx/drivers/bch
parent9ba38ba37ec26f618c58c2b548880919ab1a5121 (diff)
downloadpx4-nuttx-2c5f9e8a3d36d8849cb7181cf047f8e0352e7d85.tar.gz
px4-nuttx-2c5f9e8a3d36d8849cb7181cf047f8e0352e7d85.tar.bz2
px4-nuttx-2c5f9e8a3d36d8849cb7181cf047f8e0352e7d85.zip
warning removal
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1834 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/bch')
-rw-r--r--nuttx/drivers/bch/bchdev_driver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nuttx/drivers/bch/bchdev_driver.c b/nuttx/drivers/bch/bchdev_driver.c
index 8e36bcb82..cf5ab4025 100644
--- a/nuttx/drivers/bch/bchdev_driver.c
+++ b/nuttx/drivers/bch/bchdev_driver.c
@@ -106,7 +106,6 @@ static int bch_open(FAR struct file *filp)
{
FAR struct inode *inode = filp->f_inode;
FAR struct bchlib_s *bch;
- int ret;
DEBUGASSERT(inode && inode->i_private);
bch = (FAR struct bchlib_s *)inode->i_private;
@@ -124,7 +123,7 @@ static int bch_open(FAR struct file *filp)
}
bchlib_semgive(bch);
- return ret;
+ return OK;
}
/****************************************************************************