From ff0eea7e58b77e868294431fc16a02b743725cde Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Fri, 27 Jan 2017 14:22:37 +0100 Subject: hdlcutil: Remove HDRVC_KERNEL ifdefery. HDRVC_KERNEL was always defined to on. Signed-off-by: Ralf Baechle --- hdlcutil/hdrvcomm.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'hdlcutil/hdrvcomm.h') 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 #include "soundmodem.h" #include -#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 -- cgit v1.2.3