Eliminate some warnings

This commit is contained in:
Gregory Nutt 2016-02-02 14:48:17 -06:00
parent bb9b4c8063
commit 032e73f1eb

View File

@ -115,7 +115,6 @@ bool i2cdev_exists(int bus)
int i2cdev_open(int bus)
{
FAR char *devpath;
int fd;
/* Get the device path */
@ -133,7 +132,6 @@ int i2cdev_open(int bus)
int i2cdev_transfer(int fd, FAR struct i2c_msg_s *msgv, int msgc)
{
struct i2c_transfer_s xfer;
int ret;
/* Set up the IOCTL argument */