diff options
author | Gujulan Elango, Hari Prasath (H.) <hgujulan@visteon.com> | 2015-05-29 07:17:37 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-31 10:26:27 +0900 |
commit | 7960386273f12bb46e3ffde2822a1eb254b66af8 (patch) | |
tree | 77c9c7c5cd473e3f568725823173a7cbe225b967 /drivers/staging/dgnc/dgnc_driver.h | |
parent | 8ad524ffb215f68d98c25641082369d2ae3cf96c (diff) | |
download | linux-7960386273f12bb46e3ffde2822a1eb254b66af8.tar.bz2 |
staging: dgnc: delete all references to 'flipbuf'
This patch deletes all references to 'flipbuf'.Memory is allocated and
freed but never used anywhere in the driver.Also deleted an ununsed
Macro defined in the header file.
Signed-off-by: Gujulan Elango Hari Prasath <hgujulan@visteon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgnc/dgnc_driver.h')
-rw-r--r-- | drivers/staging/dgnc/dgnc_driver.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/dgnc/dgnc_driver.h b/drivers/staging/dgnc/dgnc_driver.h index f77fed57b873..3dee9f392fb3 100644 --- a/drivers/staging/dgnc/dgnc_driver.h +++ b/drivers/staging/dgnc/dgnc_driver.h @@ -212,8 +212,6 @@ struct dgnc_board { uint TtyRefCnt; - char *flipbuf; /* Our flip buffer, alloced if board is found */ - u16 dpatype; /* The board "type", as defined by DPA */ u16 dpastatus; /* The board "status", as defined by DPA */ @@ -288,7 +286,6 @@ struct un_t { #define CH_TX_FIFO_LWM 0x0800 /* TX Fifo is below Low Water */ #define CH_BREAK_SENDING 0x1000 /* Break is being sent */ #define CH_LOOPBACK 0x2000 /* Channel is in lookback mode */ -#define CH_FLIPBUF_IN_USE 0x4000 /* Channel's flipbuf is in use */ #define CH_BAUD0 0x08000 /* Used for checking B0 transitions */ #define CH_FORCED_STOP 0x20000 /* Output is forcibly stopped */ #define CH_FORCED_STOPI 0x40000 /* Input is forcibly stopped */ |