]> git.baikalelectronics.ru Git - kernel.git/commit
memstick: don't allow REQ_TYPE_BLOCK_PC requests
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Jul 2016 09:31:48 +0000 (11:31 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 20 Jul 2016 23:38:27 +0000 (17:38 -0600)
commit4fd12191bdb30f1930500fe2b4f43b0b206e4045
tree86092833a705c080e078a6ad4b5c1d92f8970c15
parentc5e0dce2f54daad14cc390ba4943d0d1ab7c61c9
memstick: don't allow REQ_TYPE_BLOCK_PC requests

There is no code to issue or handle REQ_TYPE_BLOCK_PC request in the
memstick drivers, so remove the bogus conditional.

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