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/pcmcia | |
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/pcmcia')
-rw-r--r-- | drivers/char/pcmcia/synclink_cs.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/char/pcmcia/synclink_cs.c b/drivers/char/pcmcia/synclink_cs.c index b694d430f10e..36a0afa89aaf 100644 --- a/drivers/char/pcmcia/synclink_cs.c +++ b/drivers/char/pcmcia/synclink_cs.c | |||
@@ -232,7 +232,6 @@ typedef struct _mgslpc_info { | |||
232 | 232 | ||
233 | /* SPPP/Cisco HDLC device parts */ | 233 | /* SPPP/Cisco HDLC device parts */ |
234 | int netcount; | 234 | int netcount; |
235 | int dosyncppp; | ||
236 | spinlock_t netlock; | 235 | spinlock_t netlock; |
237 | 236 | ||
238 | #if SYNCLINK_GENERIC_HDLC | 237 | #if SYNCLINK_GENERIC_HDLC |
@@ -459,13 +458,11 @@ static int ttymajor=0; | |||
459 | 458 | ||
460 | static int debug_level = 0; | 459 | static int debug_level = 0; |
461 | static int maxframe[MAX_DEVICE_COUNT] = {0,}; | 460 | static int maxframe[MAX_DEVICE_COUNT] = {0,}; |
462 | static int dosyncppp[MAX_DEVICE_COUNT] = {1,1,1,1}; | ||
463 | 461 | ||
464 | module_param(break_on_load, bool, 0); | 462 | module_param(break_on_load, bool, 0); |
465 | module_param(ttymajor, int, 0); | 463 | module_param(ttymajor, int, 0); |
466 | module_param(debug_level, int, 0); | 464 | module_param(debug_level, int, 0); |
467 | module_param_array(maxframe, int, NULL, 0); | 465 | module_param_array(maxframe, int, NULL, 0); |
468 | module_param_array(dosyncppp, int, NULL, 0); | ||
469 | 466 | ||
470 | MODULE_LICENSE("GPL"); | 467 | MODULE_LICENSE("GPL"); |
471 | 468 | ||
@@ -2914,7 +2911,6 @@ static void mgslpc_add_device(MGSLPC_INFO *info) | |||
2914 | if (info->line < MAX_DEVICE_COUNT) { | 2911 | if (info->line < MAX_DEVICE_COUNT) { |
2915 | if (maxframe[info->line]) | 2912 | if (maxframe[info->line]) |
2916 | info->max_frame_size = maxframe[info->line]; | 2913 | info->max_frame_size = maxframe[info->line]; |
2917 | info->dosyncppp = dosyncppp[info->line]; | ||
2918 | } | 2914 | } |
2919 | 2915 | ||
2920 | mgslpc_device_count++; | 2916 | mgslpc_device_count++; |