提交 fbf35536 编写于 作者: J Jes Sorensen 提交者: Greg Kroah-Hartman

staging: unisys: Remove wrapper around parser_init_guts()

Signed-off-by: NJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: NBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 cc55b5c5
......@@ -376,7 +376,7 @@ static void controlvm_respond_physdev_changestate(
static void parser_done(struct parser_context *ctx);
static struct parser_context *
parser_init_guts(u64 addr, u32 bytes, bool local, bool *retry)
parser_init_byte_stream(u64 addr, u32 bytes, bool local, bool *retry)
{
int allocbytes = sizeof(struct parser_context) + bytes;
struct parser_context *rc = NULL;
......@@ -451,17 +451,6 @@ parser_init_guts(u64 addr, u32 bytes, bool local, bool *retry)
return rc;
}
/* 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.
*/
static struct parser_context *
parser_init_byte_stream(u64 addr, u32 bytes, bool local, bool *retry)
{
return parser_init_guts(addr, bytes, local, retry);
}
static uuid_le
parser_id_get(struct parser_context *ctx)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册