omap mailbox: remove unnecessary arg for omap_mbox_msg_send
Subsystems (2)
PATCH 6/10 omap mailbox: remove unnecessary arg for omap_mbox_msg_send
Quoted 1 line
From
021907db683b2d7c7bf5f60bea3874fc6c2fa5a0Mon Sep 17 00:00:00 2001
From: C A Subramaniam <[email protected]>
Date: Tue, 8 Sep 2009 21:35:58 +0530
Subject: [PATCH 6/10] omap mailbox: remove unnecessary arg for omap_mbox_msg_send
Also removed from tx_data
--- arch/arm/plat-omap/include/mach/mailbox.h | 2 +- arch/arm/plat-omap/mailbox.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-)
arch/arm/plat-omap/include/mach/mailbox.h +1 -1
@@ -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 *);
arch/arm/plat-omap/mailbox.c +1 -3
@@ -88,7 +88,6 @@ static int __mbox_msg_send(struct omap_mbox *mbox, mbox_msg_t msg)struct omap_msg_tx_data {mbox_msg_t msg; -void *arg; };static void omap_msg_tx_end_io (struct request *rq,int error)
@@ -97,7 +96,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 +113,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);
Signature · 1 line
1.5.3.2
PATCH 6/10 omap mailbox: remove unnecessary arg for omap_mbox_msg_send
This patch has been applied to the linux-omap
by youw fwiendly patch wobot.
Branch in linux-omap: for-next
Initial commit ID (Likely to change): 3ce81516044e1c4599eb4a9b95f79c4778f72f28
PatchWorks
http://patchwork.kernel.org/patch/49314/
Git (Likely to change, and takes a while to get mirrored)
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=3ce81516044e1c4599eb4a9b95f79c4778f72f28