aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/synclink_gt.c
diff options
context:
space:
mode:
authorKrzysztof Hałasa <khc@pm.waw.pl>2008-07-01 09:10:11 -0400
committerKrzysztof Hałasa <khc@pm.waw.pl>2008-07-23 17:00:26 -0400
commit86f584f08767160a745a50ed675e12b8f8bfbf30 (patch)
tree421923483027c3bd94e83b597baafa5d092dfc22 /drivers/char/synclink_gt.c
parent4dfce4075aa4e2eee35e52a78dbabfe37d94c908 (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.c5
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;
128static int ttymajor; 128static int ttymajor;
129static int debug_level; 129static int debug_level;
130static int maxframe[MAX_DEVICES]; 130static int maxframe[MAX_DEVICES];
131static int dosyncppp[MAX_DEVICES];
132 131
133module_param(ttymajor, int, 0); 132module_param(ttymajor, int, 0);
134module_param(debug_level, int, 0); 133module_param(debug_level, int, 0);
135module_param_array(maxframe, int, NULL, 0); 134module_param_array(maxframe, int, NULL, 0);
136module_param_array(dosyncppp, int, NULL, 0);
137 135
138MODULE_PARM_DESC(ttymajor, "TTY major device number override: 0=auto assigned"); 136MODULE_PARM_DESC(ttymajor, "TTY major device number override: 0=auto assigned");
139MODULE_PARM_DESC(debug_level, "Debug syslog output: 0=disabled, 1 to 5=increasing detail"); 137MODULE_PARM_DESC(debug_level, "Debug syslog output: 0=disabled, 1 to 5=increasing detail");
140MODULE_PARM_DESC(maxframe, "Maximum frame size used by device (4096 to 65535)"); 138MODULE_PARM_DESC(maxframe, "Maximum frame size used by device (4096 to 65535)");
141MODULE_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++;