diff options
author | Benjamin Romer <benjamin.romer@unisys.com> | 2014-11-04 11:25:11 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-05 11:50:49 -0800 |
commit | 20188dd914f6694f13c5a5be051f8d6f1269ab49 (patch) | |
tree | 747680ce423f07d7065ddc3e521cefd6f16e2a69 /drivers/staging/unisys | |
parent | be61a0d78449f53519905640ac3a9f24c197cbaf (diff) | |
download | linux-stable-20188dd914f6694f13c5a5be051f8d6f1269ab49.tar.gz linux-stable-20188dd914f6694f13c5a5be051f8d6f1269ab49.tar.bz2 linux-stable-20188dd914f6694f13c5a5be051f8d6f1269ab49.zip |
staging: unisys: fix line spacing in charqueue.c
Clean up the extraneous blank lines in charqueue.c.
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys')
-rw-r--r-- | drivers/staging/unisys/visorutil/charqueue.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/staging/unisys/visorutil/charqueue.c b/drivers/staging/unisys/visorutil/charqueue.c index 22241c7b4f7f..cdc9cc347782 100644 --- a/drivers/staging/unisys/visorutil/charqueue.c +++ b/drivers/staging/unisys/visorutil/charqueue.c @@ -25,8 +25,6 @@ #define IS_EMPTY(charqueue) (charqueue->head == charqueue->tail) - - struct CHARQUEUE_Tag { int alloc_size; int nslots; @@ -35,8 +33,6 @@ struct CHARQUEUE_Tag { unsigned char buf[0]; }; - - CHARQUEUE *visor_charqueue_create(ulong nslots) { int alloc_size = sizeof(CHARQUEUE) + nslots + 1; @@ -55,8 +51,6 @@ CHARQUEUE *visor_charqueue_create(ulong nslots) } EXPORT_SYMBOL_GPL(visor_charqueue_create); - - void visor_charqueue_enqueue(CHARQUEUE *charqueue, unsigned char c) { int alloc_slots = charqueue->nslots+1; /* 1 slot is always empty */ @@ -71,8 +65,6 @@ void visor_charqueue_enqueue(CHARQUEUE *charqueue, unsigned char c) } EXPORT_SYMBOL_GPL(visor_charqueue_enqueue); - - BOOL visor_charqueue_is_empty(CHARQUEUE *charqueue) { BOOL b; @@ -84,8 +76,6 @@ BOOL visor_charqueue_is_empty(CHARQUEUE *charqueue) } EXPORT_SYMBOL_GPL(visor_charqueue_is_empty); - - static int charqueue_dequeue_1(CHARQUEUE *charqueue) { int alloc_slots = charqueue->nslots + 1; /* 1 slot is always empty */ @@ -96,8 +86,6 @@ static int charqueue_dequeue_1(CHARQUEUE *charqueue) return charqueue->buf[charqueue->tail]; } - - int charqueue_dequeue(CHARQUEUE *charqueue) { int rc; @@ -108,8 +96,6 @@ int charqueue_dequeue(CHARQUEUE *charqueue) return rc; } - - int visor_charqueue_dequeue_n(CHARQUEUE *charqueue, unsigned char *buf, int n) { int rc, counter = 0, c; @@ -132,8 +118,6 @@ int visor_charqueue_dequeue_n(CHARQUEUE *charqueue, unsigned char *buf, int n) } EXPORT_SYMBOL_GPL(visor_charqueue_dequeue_n); - - void visor_charqueue_destroy(CHARQUEUE *charqueue) { if (charqueue == NULL) |