Commit 559edcb7 authored by Mark Hounschell's avatar Mark Hounschell Committed by Greg Kroah-Hartman

staging: dgap: Removes excessive empty lines from dgap.h

This patch removes excessive empty lines from dgap.h
not previously caught.
Signed-off-by: default avatarMark Hounschell <markh@compro.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cb873994
...@@ -282,14 +282,12 @@ typedef unsigned char uchar; ...@@ -282,14 +282,12 @@ typedef unsigned char uchar;
#define SPINTFC 0xfc /* Reserved */ #define SPINTFC 0xfc /* Reserved */
#define SCOMMODE 0xfd /* Set RS232/422 mode */ #define SCOMMODE 0xfd /* Set RS232/422 mode */
/************************************************************************ /************************************************************************
* Modes for SCOMMODE * Modes for SCOMMODE
************************************************************************/ ************************************************************************/
#define MODE_232 0x00 #define MODE_232 0x00
#define MODE_422 0x01 #define MODE_422 0x01
/************************************************************************ /************************************************************************
* Event flags. * Event flags.
************************************************************************/ ************************************************************************/
...@@ -494,8 +492,6 @@ enum { ...@@ -494,8 +492,6 @@ enum {
REQUESTED_CONCENTRATOR REQUESTED_CONCENTRATOR
}; };
/* /*
* Modem line constants are defined as macros because DSR and * Modem line constants are defined as macros because DSR and
* DCD are swapable using the ditty altpin option. * DCD are swapable using the ditty altpin option.
...@@ -507,14 +503,12 @@ enum { ...@@ -507,14 +503,12 @@ enum {
#define D_RI(ch) DM_RI /* Ring indicator */ #define D_RI(ch) DM_RI /* Ring indicator */
#define D_DTR(ch) DM_DTR /* Data terminal ready */ #define D_DTR(ch) DM_DTR /* Data terminal ready */
/************************************************************************* /*************************************************************************
* *
* Structures and closely related defines. * Structures and closely related defines.
* *
*************************************************************************/ *************************************************************************/
/* /*
* A structure to hold a statistics counter. We also * A structure to hold a statistics counter. We also
* compute moving averages for this counter. * compute moving averages for this counter.
...@@ -526,7 +520,6 @@ struct macounter { ...@@ -526,7 +520,6 @@ struct macounter {
ulong ema; /* Exponential moving average */ ulong ema; /* Exponential moving average */
}; };
/************************************************************************ /************************************************************************
* Device flag definitions for bd_flags. * Device flag definitions for bd_flags.
************************************************************************/ ************************************************************************/
...@@ -620,8 +613,6 @@ struct board_t { ...@@ -620,8 +613,6 @@ struct board_t {
/* download */ /* download */
}; };
/************************************************************************ /************************************************************************
* Unit flag definitions for un_flags. * Unit flag definitions for un_flags.
************************************************************************/ ************************************************************************/
...@@ -659,7 +650,6 @@ struct un_t { ...@@ -659,7 +650,6 @@ struct un_t {
struct device *un_sysfs; struct device *un_sysfs;
}; };
/************************************************************************ /************************************************************************
* Device flag definitions for ch_flags. * Device flag definitions for ch_flags.
************************************************************************/ ************************************************************************/
...@@ -686,7 +676,6 @@ struct un_t { ...@@ -686,7 +676,6 @@ struct un_t {
#define SNIFF_WAIT_DATA 0x2 #define SNIFF_WAIT_DATA 0x2
#define SNIFF_WAIT_SPACE 0x4 #define SNIFF_WAIT_SPACE 0x4
/************************************************************************ /************************************************************************
*** Definitions for Digi ditty(1) command. *** Definitions for Digi ditty(1) command.
************************************************************************/ ************************************************************************/
...@@ -727,7 +716,6 @@ struct un_t { ...@@ -727,7 +716,6 @@ struct un_t {
#define TIOCMBIS (('d'<<8) | 255) /* set modem ctrl state */ #define TIOCMBIS (('d'<<8) | 255) /* set modem ctrl state */
#endif #endif
#if !defined(TIOCSDTR) #if !defined(TIOCSDTR)
#define TIOCSDTR (('e'<<8) | 0) /* set DTR */ #define TIOCSDTR (('e'<<8) | 0) /* set DTR */
#define TIOCCDTR (('e'<<8) | 1) /* clear DTR */ #define TIOCCDTR (('e'<<8) | 1) /* clear DTR */
...@@ -762,7 +750,6 @@ struct digiflow_t { ...@@ -762,7 +750,6 @@ struct digiflow_t {
unsigned char stopc; /* flow cntl stop char */ unsigned char stopc; /* flow cntl stop char */
}; };
#ifdef FLOW_2200 #ifdef FLOW_2200
#define F2200_GETA (('e'<<8) | 104) /* Get 2x36 flow cntl flags */ #define F2200_GETA (('e'<<8) | 104) /* Get 2x36 flow cntl flags */
#define F2200_SETAW (('e'<<8) | 105) /* Set 2x36 flow cntl flags */ #define F2200_SETAW (('e'<<8) | 105) /* Set 2x36 flow cntl flags */
...@@ -1004,7 +991,6 @@ struct channel_t { ...@@ -1004,7 +991,6 @@ struct channel_t {
u32 ch_open_count; /* open count */ u32 ch_open_count; /* open count */
u32 ch_flags; /* Channel flags */ u32 ch_flags; /* Channel flags */
u32 ch_close_delay; /* How long we should drop */ u32 ch_close_delay; /* How long we should drop */
/* RTS/DTR for */ /* RTS/DTR for */
...@@ -1256,29 +1242,17 @@ struct cnode { ...@@ -1256,29 +1242,17 @@ struct cnode {
} module; } module;
char *ttyname; char *ttyname;
char *cuname; char *cuname;
char *printname; char *printname;
long majornumber; long majornumber;
long altpin; long altpin;
long ttysize; long ttysize;
long chsize; long chsize;
long bssize; long bssize;
long unsize; long unsize;
long f2size; long f2size;
long vpixsize; long vpixsize;
long useintr; long useintr;
} u; } u;
}; };
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment