From 10fa225c33a97385f2843e60b8e86b0ce0cd1e5f Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Wed, 9 Feb 2022 09:28:26 +0100 Subject: scsi: md: Remove WRITE_SAME support There are no more end-users of REQ_OP_WRITE_SAME left, so we can start deleting it. Link: https://lore.kernel.org/r/20220209082828.2629273-6-hch@lst.de Signed-off-by: Christoph Hellwig Signed-off-by: Martin K. Petersen --- drivers/md/md-multipath.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/md/md-multipath.c') diff --git a/drivers/md/md-multipath.c b/drivers/md/md-multipath.c index e7d6486f090f..ae0b0a9f2a98 100644 --- a/drivers/md/md-multipath.c +++ b/drivers/md/md-multipath.c @@ -129,7 +129,6 @@ static bool multipath_make_request(struct mddev *mddev, struct bio * bio) mp_bh->bio.bi_opf |= REQ_FAILFAST_TRANSPORT; mp_bh->bio.bi_end_io = multipath_end_request; mp_bh->bio.bi_private = mp_bh; - mddev_check_writesame(mddev, &mp_bh->bio); mddev_check_write_zeroes(mddev, &mp_bh->bio); submit_bio_noacct(&mp_bh->bio); return true; -- cgit v1.2.3