Browse Source

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>
Namhyung Kim 13 years ago
parent
commit
fbdc86f3bd
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/md/dm.c

+ 0 - 1
drivers/md/dm.c

@@ -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;