Skip to contentSkip to conversation

dm: remove no needed spaces in clone_endio()/__map_bio()

PATCH New Kiyoshi Ueda 1 participant 1 message Oct 10, 2006 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/7 dm: remove no needed spaces in clone_endio()/__map_bio()

This patch removes no needed spaces of clone_endio() and __map_bio(). Should have no effect on the behavior.

Test results:
Done build test without errors.

The patch is for:

    2.6.18-mm2
drivers/md/dm.c +1 -4
diff -rupN 2.6.18-mm3/drivers/md/dm.c 1-remove-space/drivers/md/dm.c
@@ -482,7 +482,6 @@ static int clone_endio(struct bio *bio, 
 		r = endio(tio->ti, bio, error, &tio->info);
 		if (r < 0)
 			error = r;
-
 		else if (r > 0)
 			/* the target wants another shot at the io */
 			return 1;
@@ -551,9 +550,7 @@ static void __map_bio(struct dm_target *
 				    clone->bi_sector);
 
 		generic_make_request(clone);
-	}
-
-	else if (r < 0) {
+	} else if (r < 0) {
 		/* error the io and bail out */
 		md = tio->io->md;
 		dec_pending(tio->io, r);