Commit e2dabb7c authored by Viresh Kumar's avatar Viresh Kumar Committed by Greg Kroah-Hartman

greybus: ap: remove extra parameter to convert_ap_message()

Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 42a94668
......@@ -249,11 +249,11 @@ static void svc_suspend(struct svc_function_suspend *suspend,
dev_err(hd->parent, "Got an suspend message???\n");
}
static struct svc_msg *convert_ap_message(struct ap_msg *ap_msg,
struct greybus_host_device *hd)
static struct svc_msg *convert_ap_message(struct ap_msg *ap_msg)
{
struct svc_msg *svc_msg;
struct svc_msg_header *header;
struct greybus_host_device *hd = ap_msg->hd;
svc_msg = (struct svc_msg *)ap_msg->data;
header = &svc_msg->header;
......@@ -285,7 +285,7 @@ static void ap_process_event(struct work_struct *work)
hd = ap_msg->hd;
/* Turn the "raw" data into a real message */
svc_msg = convert_ap_message(ap_msg, hd);
svc_msg = convert_ap_message(ap_msg);
if (!svc_msg)
return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment