mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-20 10:44:23 +08:00
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>
This commit is contained in:
parent
df94247a89
commit
fcc974d0d5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user