[PATCH v1] eventdev/crypto_adapter: remove logically dead code

Jerin Jacob jerinjacobk at gmail.com
Wed Feb 23 17:58:37 CET 2022


On Wed, Feb 23, 2022 at 1:04 PM Ganapati Kundapura
<ganapati.kundapura at intel.com> wrote:
>
> eca_cryptodev_cdev_flush() is internal function and called with
> valid range of cdevs.
>
> crypto_cdev_info structure is allocated at adapter creation time
> and retrieved from the adapter for a valid cdevs which cannot be NULL
> and hence no need for NULL check.
>
> Fixes: 2ae84b39ae7b ("eventdev/crypto: store operations in circular buffer")
>
> Signed-off-by: Ganapati Kundapura <ganapati.kundapura at intel.com>

@Jayatheerthan, Jay  @Gujjar, Abhinandan S

Could you review this?


More information about the dev mailing list