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/synclinkmp.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/synclinkmp.c')
-rw-r--r-- | drivers/char/synclinkmp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/char/synclinkmp.c b/drivers/char/synclinkmp.c index 5768c4136342..f2edfad360d3 100644 --- a/drivers/char/synclinkmp.c +++ b/drivers/char/synclinkmp.c | |||
@@ -270,7 +270,6 @@ typedef struct _synclinkmp_info { | |||
270 | 270 | ||
271 | /* SPPP/Cisco HDLC device parts */ | 271 | /* SPPP/Cisco HDLC device parts */ |
272 | int netcount; | 272 | int netcount; |
273 | int dosyncppp; | ||
274 | spinlock_t netlock; | 273 | spinlock_t netlock; |
275 | 274 | ||
276 | #if SYNCLINK_GENERIC_HDLC | 275 | #if SYNCLINK_GENERIC_HDLC |
@@ -469,13 +468,11 @@ static int ttymajor = 0; | |||
469 | */ | 468 | */ |
470 | static int debug_level = 0; | 469 | static int debug_level = 0; |
471 | static int maxframe[MAX_DEVICES] = {0,}; | 470 | static int maxframe[MAX_DEVICES] = {0,}; |
472 | static int dosyncppp[MAX_DEVICES] = {0,}; | ||
473 | 471 | ||
474 | module_param(break_on_load, bool, 0); | 472 | module_param(break_on_load, bool, 0); |
475 | module_param(ttymajor, int, 0); | 473 | module_param(ttymajor, int, 0); |
476 | module_param(debug_level, int, 0); | 474 | module_param(debug_level, int, 0); |
477 | module_param_array(maxframe, int, NULL, 0); | 475 | module_param_array(maxframe, int, NULL, 0); |
478 | module_param_array(dosyncppp, int, NULL, 0); | ||
479 | 476 | ||
480 | static char *driver_name = "SyncLink MultiPort driver"; | 477 | static char *driver_name = "SyncLink MultiPort driver"; |
481 | static char *driver_version = "$Revision: 4.38 $"; | 478 | static char *driver_version = "$Revision: 4.38 $"; |
@@ -3751,7 +3748,6 @@ static void add_device(SLMP_INFO *info) | |||
3751 | if (info->line < MAX_DEVICES) { | 3748 | if (info->line < MAX_DEVICES) { |
3752 | if (maxframe[info->line]) | 3749 | if (maxframe[info->line]) |
3753 | info->max_frame_size = maxframe[info->line]; | 3750 | info->max_frame_size = maxframe[info->line]; |
3754 | info->dosyncppp = dosyncppp[info->line]; | ||
3755 | } | 3751 | } |
3756 | 3752 | ||
3757 | synclinkmp_device_count++; | 3753 | synclinkmp_device_count++; |