crypto: xilinx - Remove set but not used variable 'drv_ctx'
authorYueHaibing <yuehaibing@huawei.com>
Tue, 5 May 2020 10:12:00 +0000 (10:12 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 May 2020 10:35:07 +0000 (12:35 +0200)
commit378c1ee2227f67d4dbb748ff5193c959d5299095
tree3056cb77e32c9477cb954b32c3bb61586ab1c08f
parent1d9000262b3b80ef6675f35808856073e51be807
crypto: xilinx - Remove set but not used variable 'drv_ctx'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/crypto/xilinx/zynqmp-aes-gcm.c: In function 'zynqmp_aes_aead_cipher':
drivers/crypto/xilinx/zynqmp-aes-gcm.c:83:30: warning:
 variable 'drv_ctx' set but not used [-Wunused-but-set-variable]

commit bc86f9c54616 ("firmware: xilinx: Remove eemi ops for aes engine") left
behind this, remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20200505101200.195184-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/crypto/xilinx/zynqmp-aes-gcm.c