]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mmc: remove pointless request type check in mmc_prep_request
authorChristoph Hellwig <hch@lst.de>
Tue, 31 Jan 2017 15:57:24 +0000 (16:57 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 31 Jan 2017 21:00:10 +0000 (14:00 -0700)
commit261c83c1a9e5b74e41037cc804e8b9ae21623ddd
treefa83fce9257b2cee4a171e4791319eaf322258ac
parent68b568c797c0a93bd1f2e107a6022350d096154e
mmc: remove pointless request type check in mmc_prep_request

The block layer won't send requests the driver isn't asking for,
so remove this check.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/mmc/core/queue.c