mirror of https://github.com/thesofproject/sof.git
tools/probe: Remove unused write_data() function
Signed-off-by: Jyri Sarha <jyri.sarha@intel.com>
This commit is contained in:
parent
a940766d27
commit
1a1a558ac0
|
@ -63,23 +63,6 @@ static void usage(void)
|
|||
exit(0);
|
||||
}
|
||||
|
||||
int write_data(char *path, char *data)
|
||||
{
|
||||
FILE *fd;
|
||||
|
||||
fd = fopen(path, "w");
|
||||
if (!fd) {
|
||||
fprintf(stderr, "error: unable to open file %s, error %d\n",
|
||||
path, errno);
|
||||
return errno;
|
||||
}
|
||||
|
||||
fprintf(fd, "%s", data);
|
||||
fclose(fd);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int get_buffer_file(struct wave_files *files, uint32_t buffer_id)
|
||||
{
|
||||
int i;
|
||||
|
|
Loading…
Reference in New Issue