From a0434a8af5e897b45f5433f73c5a7cfb7512058c Mon Sep 17 00:00:00 2001 From: Oron Peled Date: Sun, 29 Nov 2015 14:33:09 +0200 Subject: [PATCH] xpp: remove unused #defines --- drivers/dahdi/xpp/card_bri.c | 1 - drivers/dahdi/xpp/card_fxo.c | 1 - drivers/dahdi/xpp/card_fxs.c | 1 - drivers/dahdi/xpp/card_pri.c | 2 -- 4 files changed, 5 deletions(-) diff --git a/drivers/dahdi/xpp/card_bri.c b/drivers/dahdi/xpp/card_bri.c index 5138ab7..7ccbc55 100644 --- a/drivers/dahdi/xpp/card_bri.c +++ b/drivers/dahdi/xpp/card_bri.c @@ -162,7 +162,6 @@ static int bri_chanconfig(struct file *file, struct dahdi_chan *chan, static int bri_startup(struct file *file, struct dahdi_span *span); static int bri_shutdown(struct dahdi_span *span); -#define PROC_REGISTER_FNAME "slics" #define PROC_BRI_INFO_FNAME "bri_info" enum led_state { diff --git a/drivers/dahdi/xpp/card_fxo.c b/drivers/dahdi/xpp/card_fxo.c index 6a11b43..58e244d 100644 --- a/drivers/dahdi/xpp/card_fxo.c +++ b/drivers/dahdi/xpp/card_fxo.c @@ -115,7 +115,6 @@ static const struct file_operations proc_xpd_metering_ops; static void dahdi_report_battery(xpd_t *xpd, lineno_t chan); static void report_polarity_reversal(xpd_t *xpd, xportno_t portno, char *msg); -#define PROC_REGISTER_FNAME "slics" #define PROC_FXO_INFO_FNAME "fxo_info" #ifdef WITH_METERING #define PROC_METERING_FNAME "metering_read" diff --git a/drivers/dahdi/xpp/card_fxs.c b/drivers/dahdi/xpp/card_fxs.c index 2de479e..86ea039 100644 --- a/drivers/dahdi/xpp/card_fxs.c +++ b/drivers/dahdi/xpp/card_fxs.c @@ -128,7 +128,6 @@ static const struct file_operations proc_xpd_metering_ops; #endif static void start_stop_vm_led(xbus_t *xbus, xpd_t *xpd, lineno_t pos); -#define PROC_REGISTER_FNAME "slics" #define PROC_FXS_INFO_FNAME "fxs_info" #ifdef WITH_METERING #define PROC_METERING_FNAME "metering_gen" diff --git a/drivers/dahdi/xpp/card_pri.c b/drivers/dahdi/xpp/card_pri.c index edc8bd2..c037c7f 100644 --- a/drivers/dahdi/xpp/card_pri.c +++ b/drivers/dahdi/xpp/card_pri.c @@ -85,8 +85,6 @@ static int pri_lineconfig(xpd_t *xpd, int lineconfig); static void send_idlebits(xpd_t *xpd, bool saveold); static int apply_pri_protocol(xpd_t *xpd); -#define PROC_REGISTER_FNAME "slics" - enum pri_protocol { PRI_PROTO_0 = 0, PRI_PROTO_E1 = 1,