From e2dabb7c3173020a7497b18d7430a895f80ba9ce Mon Sep 17 00:00:00 2001 From: Viresh Kumar Date: Wed, 19 Nov 2014 17:24:56 +0530 Subject: [PATCH] greybus: ap: remove extra parameter to convert_ap_message() Signed-off-by: Viresh Kumar Reviewed-by: Alex Elder Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/ap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/greybus/ap.c b/drivers/staging/greybus/ap.c index 990e5c0..d68221b 100644 --- a/drivers/staging/greybus/ap.c +++ b/drivers/staging/greybus/ap.c @@ -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; -- 2.7.4