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)
commit4eef39c90665fe73689b176dcd8cdff4a9a91274
tree86092833a705c080e078a6ad4b5c1d92f8970c15
parentc0acf12a50c2b6cbaf72bdfe2b1b514c369a83c5
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