staging: unisys: visorchipset: Declare parser_init_byte_stream() static
authorJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 5 May 2015 22:37:11 +0000 (18:37 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 May 2015 13:27:32 +0000 (15:27 +0200)
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>
drivers/staging/unisys/visorbus/visorchipset.c

index e61ec342c2ea3b68436e36cd92e82538d94c78d7..a5e1bded78908b13a7a63ab10d1be071de16b2ca 100644 (file)
@@ -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);