From patchwork Fri Sep 4 11:48:04 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "C.A, Subramaniam" X-Patchwork-Id: 45671 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n84BkVeA029365 for ; Fri, 4 Sep 2009 11:47:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756205AbZIDLrY (ORCPT ); Fri, 4 Sep 2009 07:47:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756066AbZIDLrY (ORCPT ); Fri, 4 Sep 2009 07:47:24 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:32950 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755837AbZIDLrX convert rfc822-to-8bit (ORCPT ); Fri, 4 Sep 2009 07:47:23 -0400 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id n84Bl9tP003521; Fri, 4 Sep 2009 06:47:15 -0500 Received: from dbde70.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id n84Bl9D8016200; Fri, 4 Sep 2009 17:17:09 +0530 (IST) Received: from dbde02.ent.ti.com ([172.24.170.145]) by dbde70.ent.ti.com ([172.24.170.148]) with mapi; Fri, 4 Sep 2009 17:17:08 +0530 From: "C.A, Subramaniam" To: "linux-omap@vger.kernel.org" CC: "tony@atomide.com" , "Hiroshi.DOYU@nokia.com" , "rmk@arm.linux.org.uk" , "Kanigeri, Hari" , "Gupta, Ramesh" Date: Fri, 4 Sep 2009 17:18:04 +0530 Subject: [PATCH 6/10] omap mailbox: remove unnecessary arg for omap_mbox_msg_send Thread-Topic: [PATCH 6/10] omap mailbox: remove unnecessary arg for omap_mbox_msg_send Thread-Index: AcotVZAJrAQpG+dCQle9FJSj9cqtzQ== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From 4e4fbfa64b2b77ec6f1140178770a70ff6f8caed Mon Sep 17 00:00:00 2001 From: Hiroshi DOYU Date: Wed, 2 Sep 2009 20:14:24 +0530 Subject: [PATCH 6/10] omap mailbox: remove unnecessary arg for omap_mbox_msg_send Signed-off-by: Hiroshi DOYU --- arch/arm/plat-omap/include/mach/mailbox.h | 2 +- arch/arm/plat-omap/mailbox.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/plat-omap/include/mach/mailbox.h b/arch/arm/plat-omap/include/mach/mailbox.h index 319306a..8260a3f 100644 --- a/arch/arm/plat-omap/include/mach/mailbox.h +++ b/arch/arm/plat-omap/include/mach/mailbox.h @@ -63,7 +63,7 @@ struct omap_mbox { void (*err_notify)(void); }; -int omap_mbox_msg_send(struct omap_mbox *, mbox_msg_t msg, void *); +int omap_mbox_msg_send(struct omap_mbox *, mbox_msg_t msg); void omap_mbox_init_seq(struct omap_mbox *); struct omap_mbox *omap_mbox_get(const char *); diff --git a/arch/arm/plat-omap/mailbox.c b/arch/arm/plat-omap/mailbox.c index 8a6d087..b7c0d5f 100644 --- a/arch/arm/plat-omap/mailbox.c +++ b/arch/arm/plat-omap/mailbox.c @@ -97,7 +97,7 @@ static void omap_msg_tx_end_io(struct request *rq, int error) __blk_put_request(rq->q, rq); } -int omap_mbox_msg_send(struct omap_mbox *mbox, mbox_msg_t msg, void* arg) +int omap_mbox_msg_send(struct omap_mbox *mbox, mbox_msg_t msg) { struct omap_msg_tx_data *tx_data; struct request *rq; @@ -114,7 +114,6 @@ int omap_mbox_msg_send(struct omap_mbox *mbox, mbox_msg_t msg, void* arg) } tx_data->msg = msg; - tx_data->arg = arg; rq->end_io = omap_msg_tx_end_io; blk_insert_request(q, rq, 0, tx_data);