]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: hisilicon/zip - remove unnecessary validation for high-performance mode confi...
authorChenghai Huang <huangchenghai2@huawei.com>
Thu, 21 Aug 2025 01:38:04 +0000 (09:38 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Oct 2025 09:56:31 +0000 (11:56 +0200)
commit9068f3114f8239b78eaf2c52740929db457dc836
tree93ce526a95ce5cba04efa8a7f72350a75a89d4d1
parentc7fec6c87a8dccda711b55e4a56597f284a165a9
crypto: hisilicon/zip - remove unnecessary validation for high-performance mode configurations

[ Upstream commit d4e081510471e79171c4e0a11f6cb608e49bc082 ]

When configuring the high-performance mode register, there is no
need to verify whether the register has been successfully
enabled, as there is no possibility of a write failure for this
register.

Fixes: a9864bae1806 ("crypto: hisilicon/zip - add zip comp high perf mode configuration")
Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/crypto/hisilicon/zip/zip_main.c