scst_lib: Remove dead code

Since block_shift is unsigned, it can never be negative. See also commit
1e95312e49 ("Reenable block_shift calculation for tapes").


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9605 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2021-11-25 00:37:08 +00:00
parent 20076add1b
commit 49870b2348
-2
View File
@@ -12491,8 +12491,6 @@ int scst_tape_generic_parse(struct scst_cmd *cmd)
shift_left_overflows(cmd->data_len, block_shift) ||
shift_left_overflows(cmd->out_bufflen, block_shift);
EXTRACHECKS_BUG_ON(block_shift < 0);
BUILD_BUG_ON(sizeof(cmd->bufflen) != 4);
BUILD_BUG_ON(sizeof(cmd->out_bufflen) != 4);
if (unlikely(overflow)) {