On Wed, Aug 28, 2019 at 02:37:12PM +0800, Vic Wu wrote: > From: Ryder Lee <ryder.lee@xxxxxxxxxxxx> > > Move mtk_aes_find_dev() to right functions as nobody uses the > 'cryp' under current flows. > > We can also avoid duplicate checks here and there in this way. > > Signed-off-by: Ryder Lee <ryder.lee@xxxxxxxxxxxx> > Signed-off-by: Vic Wu <vic.wu@xxxxxxxxxxxx> > --- > drivers/crypto/mediatek/mtk-aes.c | 39 +++++++++++-------------------- > 1 file changed, 14 insertions(+), 25 deletions(-) All applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt