Eurosignal: Removed useless channel check
This commit is contained in:
parent
b0b0046ad3
commit
3e5326f891
|
@ -247,11 +247,6 @@ int euro_create(const char *kanal, const char *device, int use_sdr, int samplera
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (atoi(kanal) == 19) {
|
|
||||||
PDEBUG(DEURO, DEBUG_ERROR, "Selected calling channel ('Rufkanal') number %s can't be used as traffic channel.\n", kanal);
|
|
||||||
return -EINVAL;
|
|
||||||
}
|
|
||||||
|
|
||||||
euro = calloc(1, sizeof(*euro));
|
euro = calloc(1, sizeof(*euro));
|
||||||
if (!euro) {
|
if (!euro) {
|
||||||
PDEBUG(DEURO, DEBUG_ERROR, "No memory!\n");
|
PDEBUG(DEURO, DEBUG_ERROR, "No memory!\n");
|
||||||
|
|
Loading…
Reference in New Issue