Trivial update to some comments

This commit is contained in:
Gregory Nutt 2015-02-24 06:41:28 -06:00
parent 4320b1b1a3
commit 1c4863c24e

View File

@ -186,7 +186,7 @@ static int can_open(FAR struct file *filep)
dev_rxint(dev, true); dev_rxint(dev, true);
/* Save the new open count on success */ /* Save the new open count only on success */
dev->cd_ocount = 1; dev->cd_ocount = 1;
} }
@ -195,7 +195,7 @@ static int can_open(FAR struct file *filep)
} }
else else
{ {
/* Save the incremented open count on success */ /* Save the incremented open count */
dev->cd_ocount = tmp; dev->cd_ocount = tmp;
} }