]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdd2ddd22baee4cb6b93f43537046a417d6375a42
tree0475d64bf3792c4427f16844f1b914a3e8f0dc83
parentd9e5a3917468906631addfcbdb87cda1e4513d10
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