Skip to content

Commit

Permalink
iiod: Remove unused variables
Browse files Browse the repository at this point in the history
Signed-off-by: Philip Molloy <[email protected]>
  • Loading branch information
pamolloy authored and dNechita committed Feb 11, 2025
1 parent 1ef78a7 commit cfe2b96
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion iiod/iiod.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ int main(int argc, char **argv)
int c, option_index = 0;
char *ffs_mountpoint = NULL;
char *uart_params = NULL;
char err_str[1024];
uint16_t port = IIOD_PORT;
int ret, ep0_fd = 0;

Expand Down
2 changes: 1 addition & 1 deletion iiod/ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ static void rw_thd(struct thread_pool *pool, void *d)
struct ThdEntry *thd, *next_thd;
struct iio_device *dev = entry->dev;
struct iio_device_pdata *dev_pdata;
unsigned int i, nb_channels = iio_device_get_channels_count(dev);
unsigned int nb_channels = iio_device_get_channels_count(dev);
struct iio_channel *chn;
struct iio_block *block;
ssize_t nb_bytes, ret = 0;
Expand Down

0 comments on commit cfe2b96

Please sign in to comment.