block: remove dead code in scsi_ioctl:blk_verify_command
authorDave Jones <davej@redhat.com>
Thu, 29 May 2014 19:11:30 +0000 (15:11 -0400)
committerJens Axboe <axboe@fb.com>
Thu, 29 May 2014 19:38:50 +0000 (13:38 -0600)
commitda52f22fa924b4a21d8e11fbfd3eeebd7a90a366
tree0475d64bf3792c4427f16844f1b914a3e8f0dc83
parent4b570521be54666e6ad7e5f47af92fd609fbd8b5
block: remove dead code in scsi_ioctl:blk_verify_command

filter gets assigned the address of blk_default_cmd_filter on
entry to this function, so the !filter condition can never be true.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/scsi_ioctl.c