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 e61ec34..a5e1bde 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);