diff options
author | Krzysztof Hałasa <khc@pm.waw.pl> | 2008-07-01 09:10:11 -0400 |
---|---|---|
committer | Krzysztof Hałasa <khc@pm.waw.pl> | 2008-07-23 17:00:26 -0400 |
commit | 86f584f08767160a745a50ed675e12b8f8bfbf30 (patch) | |
tree | 421923483027c3bd94e83b597baafa5d092dfc22 /drivers/char/synclink_gt.c | |
parent | 4dfce4075aa4e2eee35e52a78dbabfe37d94c908 (diff) |
Remove bogus dosyncppp variable from synclink drivers.
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Diffstat (limited to 'drivers/char/synclink_gt.c')
-rw-r--r-- | drivers/char/synclink_gt.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/char/synclink_gt.c b/drivers/char/synclink_gt.c index 2c3e43bb2cc9..88083b066261 100644 --- a/drivers/char/synclink_gt.c +++ b/drivers/char/synclink_gt.c | |||
@@ -128,17 +128,14 @@ static int slgt_device_count; | |||
128 | static int ttymajor; | 128 | static int ttymajor; |
129 | static int debug_level; | 129 | static int debug_level; |
130 | static int maxframe[MAX_DEVICES]; | 130 | static int maxframe[MAX_DEVICES]; |
131 | static int dosyncppp[MAX_DEVICES]; | ||
132 | 131 | ||
133 | module_param(ttymajor, int, 0); | 132 | module_param(ttymajor, int, 0); |
134 | module_param(debug_level, int, 0); | 133 | module_param(debug_level, int, 0); |
135 | module_param_array(maxframe, int, NULL, 0); | 134 | module_param_array(maxframe, int, NULL, 0); |
136 | module_param_array(dosyncppp, int, NULL, 0); | ||
137 | 135 | ||
138 | MODULE_PARM_DESC(ttymajor, "TTY major device number override: 0=auto assigned"); | 136 | 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"); | 137 | 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)"); | 138 | 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 | 139 | ||
143 | /* | 140 | /* |
144 | * tty support and callbacks | 141 | * tty support and callbacks |
@@ -348,7 +345,6 @@ struct slgt_info { | |||
348 | /* SPPP/Cisco HDLC device parts */ | 345 | /* SPPP/Cisco HDLC device parts */ |
349 | 346 | ||
350 | int netcount; | 347 | int netcount; |
351 | int dosyncppp; | ||
352 | spinlock_t netlock; | 348 | spinlock_t netlock; |
353 | #if SYNCLINK_GENERIC_HDLC | 349 | #if SYNCLINK_GENERIC_HDLC |
354 | struct net_device *netdev; | 350 | struct net_device *netdev; |
@@ -3385,7 +3381,6 @@ static void add_device(struct slgt_info *info) | |||
3385 | if (info->line < MAX_DEVICES) { | 3381 | if (info->line < MAX_DEVICES) { |
3386 | if (maxframe[info->line]) | 3382 | if (maxframe[info->line]) |
3387 | info->max_frame_size = maxframe[info->line]; | 3383 | info->max_frame_size = maxframe[info->line]; |
3388 | info->dosyncppp = dosyncppp[info->line]; | ||
3389 | } | 3384 | } |
3390 | 3385 | ||
3391 | slgt_device_count++; | 3386 | slgt_device_count++; |