clean up some dead code
This commit is contained in:
parent
8f81fe8728
commit
af1c793dfe
7
filter.c
7
filter.c
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of the sigrok project.
|
* This file is part of the sigrok project.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2010 Bert Vermeulen <bert@biot.com>
|
* Copyright (C) 2012 Bert Vermeulen <bert@biot.com>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -101,11 +101,6 @@ int sr_filter_probes(int in_unitsize, int out_unitsize, const int *probelist,
|
||||||
return SR_ERR_ARG;
|
return SR_ERR_ARG;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!length_out) {
|
|
||||||
sr_err("filter: %s: length_out was NULL", __func__);
|
|
||||||
return SR_ERR_ARG;
|
|
||||||
}
|
|
||||||
|
|
||||||
num_enabled_probes = 0;
|
num_enabled_probes = 0;
|
||||||
for (i = 0; probelist[i]; i++)
|
for (i = 0; probelist[i]; i++)
|
||||||
num_enabled_probes++;
|
num_enabled_probes++;
|
||||||
|
|
Loading…
Reference in New Issue