Commit fb514b2d authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Herbert Xu
Browse files

crypto: s5p-sss - Remove unused variant field from state container

The driver uses type of device (variant) only during probe so there is
no need to store it for later.
Signed-off-by: default avatarKrzysztof Kozlowski <>
Reviewed-by: default avatarBartlomiej Zolnierkiewicz <>
Signed-off-by: default avatarHerbert Xu <>
parent 42d5c176
......@@ -190,8 +190,6 @@ struct s5p_aes_dev {
struct crypto_queue queue;
bool busy;
spinlock_t lock;
struct samsung_aes_variant *variant;
static struct s5p_aes_dev *s5p_dev;
......@@ -852,7 +850,6 @@ static int s5p_aes_probe(struct platform_device *pdev)
pdata->busy = false;
pdata->variant = variant;
pdata->dev = dev;
platform_set_drvdata(pdev, pdata);
s5p_dev = pdata;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment