From: H Hartley Sweeten Date: Tue, 29 Apr 2014 18:08:43 +0000 (-0700) Subject: staging: comedi: adv_pci1710: remove 'ai_act_chan' from private data X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8673804de08f047769d33858ad60a252b241bc76;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: comedi: adv_pci1710: remove 'ai_act_chan' from private data This member of the private data is not ued by the driver. Remove it. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/adv_pci1710.c b/drivers/staging/comedi/drivers/adv_pci1710.c index 3060b951e9cd..0dc946eaa743 100644 --- a/drivers/staging/comedi/drivers/adv_pci1710.c +++ b/drivers/staging/comedi/drivers/adv_pci1710.c @@ -299,7 +299,6 @@ static const struct boardtype boardtypes[] = { struct pci1710_private { unsigned int CntrlReg; /* Control register */ unsigned int ai_act_scan; /* how many scans we finished */ - unsigned int ai_act_chan; /* actual position in actual scan */ unsigned char ai_et; unsigned int ai_et_CntrlReg; unsigned int ai_et_MuxVal;