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, ...@@ -249,11 +249,11 @@ static void svc_suspend(struct svc_function_suspend *suspend,
dev_err(hd->parent, "Got an suspend message???\n"); dev_err(hd->parent, "Got an suspend message???\n");
} }
static struct svc_msg *convert_ap_message(struct ap_msg *ap_msg, static struct svc_msg *convert_ap_message(struct ap_msg *ap_msg)
struct greybus_host_device *hd)
{ {
struct svc_msg *svc_msg; struct svc_msg *svc_msg;
struct svc_msg_header *header; struct svc_msg_header *header;
struct greybus_host_device *hd = ap_msg->hd;
svc_msg = (struct svc_msg *)ap_msg->data; svc_msg = (struct svc_msg *)ap_msg->data;
header = &svc_msg->header; header = &svc_msg->header;
...@@ -285,7 +285,7 @@ static void ap_process_event(struct work_struct *work) ...@@ -285,7 +285,7 @@ static void ap_process_event(struct work_struct *work)
hd = ap_msg->hd; hd = ap_msg->hd;
/* Turn the "raw" data into a real message */ /* 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) if (!svc_msg)
return; 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