diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2017-01-27 14:22:37 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-01-27 14:23:39 +0100 |
commit | ff0eea7e58b77e868294431fc16a02b743725cde (patch) | |
tree | b00c34e7721e0b55321e54525ae0348abca84106 /hdlcutil/hdrvcomm.h | |
parent | 5f7ae939d2cb2b097b98bdd3352239e93fb79c24 (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/hdrvcomm.h')
-rw-r--r-- | hdlcutil/hdrvcomm.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/hdlcutil/hdrvcomm.h b/hdlcutil/hdrvcomm.h index 520f2d9..ba1b74c 100644 --- a/hdlcutil/hdrvcomm.h +++ b/hdlcutil/hdrvcomm.h @@ -36,15 +36,9 @@ extern "C" { /* ---------------------------------------------------------------------- */ -#define HDRVC_KERNEL 1 - -/* ---------------------------------------------------------------------- */ - -#ifdef HDRVC_KERNEL #include <linux/hdlcdrv.h> #include "soundmodem.h" #include <linux/baycom.h> -#endif /* HDRVC_KERNEL */ /* ---------------------------------------------------------------------- */ @@ -102,12 +96,10 @@ extern int hdrvc_diag2(unsigned int mode, unsigned int flags, short *data, unsig extern int hdrvc_get_driver_name(char *buf, int bufsz); extern int hdrvc_get_mode_name(char *buf, int bufsz); -#ifdef HDRVC_KERNEL extern int hdrvc_hdlcdrv_ioctl(int cmd, struct hdlcdrv_ioctl *par); extern int hdrvc_sm_ioctl(int cmd, struct sm_ioctl *par); extern int hdrvc_baycom_ioctl(int cmd, struct baycom_ioctl *par); extern int hdrvc_diag(struct sm_diag_data *diag); -#endif /* HDRVC_KERNEL */ /* ---------------------------------------------------------------------- */ #ifdef __cplusplus |