diff options
author | David Fries <david@fries.net> | 2008-10-16 01:05:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 14:21:51 -0400 |
commit | cbf4a49afa9f9a527ed4f3dab4ec355586ba890e (patch) | |
tree | bdc2c39d1c857460ca2a1b8ecbbbbbe6a1890a71 /drivers | |
parent | 19e7184f75354c50bc196d856ff903b2add5ff5a (diff) |
W1: ds2490.c ds_write_block remove extra ds_wait_status
Drop the extra ds_wait_status() in ds_write_block().
Signed-off-by: David Fries <david@fries.net>
Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | 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 29df1d2998b2..4faf4f9ec068 100644 --- a/drivers/w1/masters/ds2490.c +++ b/drivers/w1/masters/ds2490.c | |||
@@ -648,8 +648,6 @@ static int ds_write_block(struct ds_device *dev, u8 *buf, int len) | |||
648 | if (err < 0) | 648 | if (err < 0) |
649 | return err; | 649 | return err; |
650 | 650 | ||
651 | ds_wait_status(dev, &st); | ||
652 | |||
653 | err = ds_send_control(dev, COMM_BLOCK_IO | COMM_IM | COMM_SPU, len); | 651 | err = ds_send_control(dev, COMM_BLOCK_IO | COMM_IM | COMM_SPU, len); |
654 | if (err) | 652 | if (err) |
655 | return err; | 653 | return err; |