dm: remove superfluous smp_mb

Since set_current_state() contains a memory barrier in it,
an additional barrier isn't needed.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
This commit is contained in:
Namhyung Kim 2011-10-31 20:18:56 +00:00 committed by Alasdair G Kergon
parent 71a16736a1
commit fbdc86f3bd

View File

@ -2326,7 +2326,6 @@ static int dm_wait_for_completion(struct mapped_device *md, int interruptible)
while (1) {
set_current_state(interruptible);
smp_mb();
if (!md_in_flight(md))
break;