19 Nov
2019
19 Nov
'19
3:10 p.m.
On Tue, Nov 19, 2019 at 07:33:08PM +0530, vishnu wrote:
static void snd_acp3x_remove(struct pci_dev *pci) { - struct acp3x_dev_data *adata = pci_get_drvdata(pci);
This was fine. Leave it as-is.
Actually I was reported by kbuild robot tool about ISO mixed forbids of initialization so I did this.
You misunderstood the warning. It is about putting declarations after the start of code. (Initializers don't count as code in this context).
regards, dan carpenter