mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-12 00:00:00 +00:00
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:
parent
39b486d6ec
commit
45311439da
@ -1449,8 +1449,8 @@ static void parser_done(struct parser_context *ctx)
|
||||
kfree(ctx);
|
||||
}
|
||||
|
||||
static struct parser_context *parser_init_byte_stream(u64 addr, u32 bytes,
|
||||
bool *retry)
|
||||
static struct parser_context *parser_init_stream(u64 addr, u32 bytes,
|
||||
bool *retry)
|
||||
{
|
||||
int allocbytes;
|
||||
struct parser_context *ctx;
|
||||
@ -1523,8 +1523,7 @@ static int handle_command(struct controlvm_message inmsg, u64 channel_addr)
|
||||
if (parm_bytes) {
|
||||
bool retry = false;
|
||||
|
||||
parser_ctx =
|
||||
parser_init_byte_stream(parm_addr, parm_bytes, &retry);
|
||||
parser_ctx = parser_init_stream(parm_addr, parm_bytes, &retry);
|
||||
if (!parser_ctx && retry)
|
||||
return -EAGAIN;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user