Commit c15a6ef6 authored by Russell King's avatar Russell King

dmaengine: PL08x: remove redundant spinlock

The pl08x_driver_data spinlock is only ever initialized.  Nothing else
uses it.  Let's get rid of it.
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Tested-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 92d2fd61
...@@ -146,7 +146,6 @@ struct pl08x_driver_data { ...@@ -146,7 +146,6 @@ struct pl08x_driver_data {
int pool_ctr; int pool_ctr;
u8 lli_buses; u8 lli_buses;
u8 mem_buses; u8 mem_buses;
spinlock_t lock;
}; };
/* /*
...@@ -1897,8 +1896,6 @@ static int pl08x_probe(struct amba_device *adev, const struct amba_id *id) ...@@ -1897,8 +1896,6 @@ static int pl08x_probe(struct amba_device *adev, const struct amba_id *id)
goto out_no_lli_pool; goto out_no_lli_pool;
} }
spin_lock_init(&pl08x->lock);
pl08x->base = ioremap(adev->res.start, resource_size(&adev->res)); pl08x->base = ioremap(adev->res.start, resource_size(&adev->res));
if (!pl08x->base) { if (!pl08x->base) {
ret = -ENOMEM; ret = -ENOMEM;
......
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