summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorRevanth Rajashekar <revanth.rajashekar@intel.com>2019-08-20 17:30:50 +0200
committerJens Axboe <axboe@kernel.dk>2019-08-20 17:33:21 +0200
commit89c6cc2cab7e5090dc85ce0162ce92903b3aac5d (patch)
tree68ecd4ab58448009f2aea4678e3e07e5d99d5e21 /fs
parentblock: sed-opal: Add/remove spaces (diff)
downloadlinux-89c6cc2cab7e5090dc85ce0162ce92903b3aac5d.tar.xz
linux-89c6cc2cab7e5090dc85ce0162ce92903b3aac5d.zip
block: sed-opal: Remove always false conditional statement
In the function 'response_parse', num_entries will never be 0 as slen is checked for 0. Hence, the condition 'if (num_entries == 0)' can never be true. Signed-off-by: Revanth Rajashekar <revanth.rajashekar@intel.com> Reviewed-by: Scott Bauer <sbauer@plzdonthack.me> Reviewed-by: Jon Derrick <jonathan.derrick@intel.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions