[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20080328122754.GH3613@spacedout.fries.net>
Date: Fri, 28 Mar 2008 07:27:54 -0500
From: David Fries <david@...es.net>
To: linux-kernel@...r.kernel.org
Cc: Evgeniy Polyakov <johnpol@....mipt.ru>
Subject: [PATCH 33/35] W1: ds2490.c ds_write_block remove extra ds_wait_status
ds_wait_status isn't needed between writing data to ds2490 and issuing
the block I/O command to use the data.
Signed-off-by: David Fries <david@...es.net>
---
drivers/w1/masters/ds2490.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/w1/masters/ds2490.c b/drivers/w1/masters/ds2490.c
index 1468077..cde99b7 100644
--- a/drivers/w1/masters/ds2490.c
+++ b/drivers/w1/masters/ds2490.c
@@ -643,8 +643,6 @@ static int ds_write_block(struct ds_device *dev, u8 *buf, int len)
if (err < 0)
return err;
- ds_wait_status(dev, &st);
-
err = ds_send_control(dev, COMM_BLOCK_IO | COMM_IM | COMM_SPU, len);
if (err)
return err;
--
1.4.4.4
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists