diff options
author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2015-05-05 18:37:11 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-08 15:27:32 +0200 |
commit | fcc974d0d58bfcd63219b759f4c51c3313b1667d (patch) | |
tree | 5cb5168c1095ed6d475ddc57ab9a861e2e3b961e /drivers/staging | |
parent | df94247a8987b1ab5be2330c7d07b51980592fe0 (diff) |
staging: unisys: visorchipset: Declare parser_init_byte_stream() static
In addition remove unused parser_init()
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/unisys/visorbus/visorchipset.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c index e61ec342c2ea..a5e1bded7890 100644 --- a/drivers/staging/unisys/visorbus/visorchipset.c +++ b/drivers/staging/unisys/visorbus/visorchipset.c @@ -470,18 +470,12 @@ cleanup: return rc; } -struct parser_context * -parser_init(u64 addr, u32 bytes, bool local, bool *retry) -{ - return parser_init_guts(addr, bytes, local, true, retry); -} - /* Call this instead of parser_init() if the payload area consists of just * a sequence of bytes, rather than a struct spar_controlvm_parameters_header * structures. Afterwards, you can call parser_simpleString_get() or * parser_byteStream_get() to obtain the data. */ -struct parser_context * +static struct parser_context * parser_init_byte_stream(u64 addr, u32 bytes, bool local, bool *retry) { return parser_init_guts(addr, bytes, local, false, retry); |