block: sed-opal: "Never True" conditions
authorRevanth Rajashekar <revanth.rajashekar@intel.com>
Thu, 27 Jun 2019 22:31:09 +0000 (16:31 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 29 Jun 2019 15:40:31 +0000 (09:40 -0600)
commit15ddffcb341392ba56a28a0ff5d19d8f8cde1b80
tree9db30c853a83c8919c42f717d2e29b9133bb42c2
parent5e4c7cf60ec3cad59703c203de1dfb31ea608e6e
block: sed-opal: "Never True" conditions

'who' an unsigned variable in stucture opal_session_info
can never be lesser than zero. Hence, the condition
"who < OPAL_ADMIN1" can never be true.

Signed-off-by: Revanth Rajashekar <revanth.rajashekar@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/sed-opal.c