Re: block: remove dead code in scsi_ioctl:blk_verify_command

2014-05-29 Thread Jens Axboe
On 05/29/2014 01:11 PM, Dave Jones wrote: > 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 > > diff --git a/block/scsi_ioctl.c b/block/scsi_ioctl.c > index

block: remove dead code in scsi_ioctl:blk_verify_command

2014-05-29 Thread Dave Jones
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 diff --git a/block/scsi_ioctl.c b/block/scsi_ioctl.c index 26487972ac54..9c28a5b38042 100644 --- a/block/scsi_ioctl.c +++

block: remove dead code in scsi_ioctl:blk_verify_command

2014-05-29 Thread Dave Jones
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 da...@redhat.com diff --git a/block/scsi_ioctl.c b/block/scsi_ioctl.c index 26487972ac54..9c28a5b38042 100644 --- a/block/scsi_ioctl.c +++

Re: block: remove dead code in scsi_ioctl:blk_verify_command

2014-05-29 Thread Jens Axboe
On 05/29/2014 01:11 PM, Dave Jones wrote: 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 da...@redhat.com diff --git a/block/scsi_ioctl.c b/block/scsi_ioctl.c index