From: Jes Sorensen Date: Tue, 5 May 2015 22:37:11 +0000 (-0400) Subject: staging: unisys: visorchipset: Declare parser_init_byte_stream() static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fcc974d0d58bfcd63219b759f4c51c3313b1667d;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git staging: unisys: visorchipset: Declare parser_init_byte_stream() static In addition remove unused parser_init() Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- 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);