crypto: chelsio - remove redundant assignment to cdev->ports
authorColin Ian King <colin.king@canonical.com>
Fri, 6 Apr 2018 16:58:47 +0000 (17:58 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 20 Apr 2018 16:58:31 +0000 (00:58 +0800)
commitc4e848586cf11dd80633e4981108f36d4b414df1
tree9dd03d09f51309ee9b4df41ece9f256c7ac99438
parent2d93913e22013cb941fa7e1cf3d5e6649bc2bfad
crypto: chelsio - remove redundant assignment to cdev->ports

There is a double assignment to cdev->ports, the first is redundant
as it is over-written so remove it.

Detected by CoverityScan, CID#1467432 ("Unused value")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chtls/chtls_main.c