提交 3fca6a2f 编写于 作者: R Roberta Dobrescu 提交者: Jonathan Cameron

tools: iio: lsiio: Remove unused variables

This patch removes unused variables from lsiio.c in order
to get rid of the warnings regarding them.
Signed-off-by: NRoberta Dobrescu <roberta.dobrescu@gmail.com>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 976d9ab1
......@@ -95,12 +95,7 @@ static int dump_one_trigger(const char *dev_dir_name)
static void dump_devices(void)
{
const struct dirent *ent;
int number, numstrlen;
FILE *nameFile;
DIR *dp;
char thisname[IIO_MAX_NAME_LENGTH];
char *filename;
dp = opendir(iio_dir);
if (dp == NULL) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部