mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 15:16:56 +07:00
atmel: remove set but not used variable 'dev'
Fixes gcc '-Wunused-but-set-variable' warning: drivers/net/wireless/atmel/atmel_cs.c:120:21: warning: variable dev set but not used [-Wunused-but-set-variable] It is never used, so can remove it. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
f64b06bd36
commit
d0c160b18e
@ -117,11 +117,9 @@ static int atmel_config_check(struct pcmcia_device *p_dev, void *priv_data)
|
||||
|
||||
static int atmel_config(struct pcmcia_device *link)
|
||||
{
|
||||
struct local_info *dev;
|
||||
int ret;
|
||||
const struct pcmcia_device_id *did;
|
||||
|
||||
dev = link->priv;
|
||||
did = dev_get_drvdata(&link->dev);
|
||||
|
||||
dev_dbg(&link->dev, "atmel_config\n");
|
||||
|
Loading…
Reference in New Issue
Block a user