staging: unisys: visorchipset: Shorten parser_init_byte_stream.

Shorten the name of the function parser_init_byte_stream to just
parser_init_stream.

Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: Tim Sell <timothy.sell@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
David Kershner 2017-08-30 13:36:28 -04:00 committed by Greg Kroah-Hartman
parent 39b486d6ec
commit 45311439da

View File

@ -1449,8 +1449,8 @@ static void parser_done(struct parser_context *ctx)
kfree(ctx); kfree(ctx);
} }
static struct parser_context *parser_init_byte_stream(u64 addr, u32 bytes, static struct parser_context *parser_init_stream(u64 addr, u32 bytes,
bool *retry) bool *retry)
{ {
int allocbytes; int allocbytes;
struct parser_context *ctx; struct parser_context *ctx;
@ -1523,8 +1523,7 @@ static int handle_command(struct controlvm_message inmsg, u64 channel_addr)
if (parm_bytes) { if (parm_bytes) {
bool retry = false; bool retry = false;
parser_ctx = parser_ctx = parser_init_stream(parm_addr, parm_bytes, &retry);
parser_init_byte_stream(parm_addr, parm_bytes, &retry);
if (!parser_ctx && retry) if (!parser_ctx && retry)
return -EAGAIN; return -EAGAIN;
} }