summaryrefslogtreecommitdiffstats
path: root/hdlcutil/fl
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-01-27 14:22:37 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-01-27 14:23:39 +0100
commitff0eea7e58b77e868294431fc16a02b743725cde (patch)
treeb00c34e7721e0b55321e54525ae0348abca84106 /hdlcutil/fl
parent5f7ae939d2cb2b097b98bdd3352239e93fb79c24 (diff)
hdlcutil: Remove HDRVC_KERNEL ifdefery.
HDRVC_KERNEL was always defined to on. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'hdlcutil/fl')
-rw-r--r--hdlcutil/fl/xfhdlcst_main.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/hdlcutil/fl/xfhdlcst_main.cxx b/hdlcutil/fl/xfhdlcst_main.cxx
index 421805a..da2f2bc 100644
--- a/hdlcutil/fl/xfhdlcst_main.cxx
+++ b/hdlcutil/fl/xfhdlcst_main.cxx
@@ -76,9 +76,7 @@ int main(int argc, char *argv[])
int c, i;
int ret;
struct hdrvc_channel_state cs;
-#ifdef HDRVC_KERNEL
struct sm_ioctl smi;
-#endif /* HDRVC_KERNEL */
char buf[32];
char name[64];
@@ -126,10 +124,8 @@ int main(int argc, char *argv[])
/*
* check for soundmodem driver
*/
-#ifdef HDRVC_KERNEL
ret = hdrvc_sm_ioctl(SMCTL_GETDEBUG, &smi);
if (ret < 0) {
-#endif /* HDRVC_KERNEL */
tdemodcyc->hide();
tmodcyc->hide();
tintfreq->hide();
@@ -138,9 +134,7 @@ int main(int argc, char *argv[])
modcyc->hide();
intfreq->hide();
dmares->hide();
-#ifdef HDRVC_KERNEL
}
-#endif /* HDRVC_KERNEL */
hdlcst->show();
for (;;) {
Fl::wait();