diff options
Diffstat (limited to 'drivers/char/synclink_gt.c')
-rw-r--r-- | drivers/char/synclink_gt.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/char/synclink_gt.c b/drivers/char/synclink_gt.c index 3e9058993e41..08911ed66494 100644 --- a/drivers/char/synclink_gt.c +++ b/drivers/char/synclink_gt.c | |||
@@ -47,7 +47,6 @@ | |||
47 | 47 | ||
48 | 48 | ||
49 | #include <linux/module.h> | 49 | #include <linux/module.h> |
50 | #include <linux/version.h> | ||
51 | #include <linux/errno.h> | 50 | #include <linux/errno.h> |
52 | #include <linux/signal.h> | 51 | #include <linux/signal.h> |
53 | #include <linux/sched.h> | 52 | #include <linux/sched.h> |
@@ -128,17 +127,14 @@ static int slgt_device_count; | |||
128 | static int ttymajor; | 127 | static int ttymajor; |
129 | static int debug_level; | 128 | static int debug_level; |
130 | static int maxframe[MAX_DEVICES]; | 129 | static int maxframe[MAX_DEVICES]; |
131 | static int dosyncppp[MAX_DEVICES]; | ||
132 | 130 | ||
133 | module_param(ttymajor, int, 0); | 131 | module_param(ttymajor, int, 0); |
134 | module_param(debug_level, int, 0); | 132 | module_param(debug_level, int, 0); |
135 | module_param_array(maxframe, int, NULL, 0); | 133 | module_param_array(maxframe, int, NULL, 0); |
136 | module_param_array(dosyncppp, int, NULL, 0); | ||
137 | 134 | ||
138 | MODULE_PARM_DESC(ttymajor, "TTY major device number override: 0=auto assigned"); | 135 | MODULE_PARM_DESC(ttymajor, "TTY major device number override: 0=auto assigned"); |
139 | MODULE_PARM_DESC(debug_level, "Debug syslog output: 0=disabled, 1 to 5=increasing detail"); | 136 | MODULE_PARM_DESC(debug_level, "Debug syslog output: 0=disabled, 1 to 5=increasing detail"); |
140 | MODULE_PARM_DESC(maxframe, "Maximum frame size used by device (4096 to 65535)"); | 137 | MODULE_PARM_DESC(maxframe, "Maximum frame size used by device (4096 to 65535)"); |
141 | MODULE_PARM_DESC(dosyncppp, "Enable synchronous net device, 0=disable 1=enable"); | ||
142 | 138 | ||
143 | /* | 139 | /* |
144 | * tty support and callbacks | 140 | * tty support and callbacks |
@@ -349,7 +345,6 @@ struct slgt_info { | |||
349 | /* SPPP/Cisco HDLC device parts */ | 345 | /* SPPP/Cisco HDLC device parts */ |
350 | 346 | ||
351 | int netcount; | 347 | int netcount; |
352 | int dosyncppp; | ||
353 | spinlock_t netlock; | 348 | spinlock_t netlock; |
354 | #if SYNCLINK_GENERIC_HDLC | 349 | #if SYNCLINK_GENERIC_HDLC |
355 | struct net_device *netdev; | 350 | struct net_device *netdev; |
@@ -3405,7 +3400,6 @@ static void add_device(struct slgt_info *info) | |||
3405 | if (info->line < MAX_DEVICES) { | 3400 | if (info->line < MAX_DEVICES) { |
3406 | if (maxframe[info->line]) | 3401 | if (maxframe[info->line]) |
3407 | info->max_frame_size = maxframe[info->line]; | 3402 | info->max_frame_size = maxframe[info->line]; |
3408 | info->dosyncppp = dosyncppp[info->line]; | ||
3409 | } | 3403 | } |
3410 | 3404 | ||
3411 | slgt_device_count++; | 3405 | slgt_device_count++; |