Skip to content

Commit

Permalink
W1: ds2490.c ds_write_block remove extra ds_wait_status
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Fries authored and Linus Torvalds committed Oct 16, 2008
1 parent 19e7184 commit cbf4a49
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/w1/masters/ds2490.c
Original file line number Diff line number Diff line change
Expand Up @@ -648,8 +648,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;
Expand Down

0 comments on commit cbf4a49

Please sign in to comment.