Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] radio-wl1273: remove unused wl1273_device->work

wl1273_device->work is unused. Remove it along with the spurious
flush_scheduled_work() call in wl1273_fm_module_exit().

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Matti Aaltonen <matti.j.aaltonen@nokia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by

Tejun Heo and committed by
Mauro Carvalho Chehab
868e90d5 7e270941

-5
-5
drivers/media/radio/radio-wl1273.c
··· 67 67 68 68 /* RDS */ 69 69 unsigned int rds_on; 70 - struct delayed_work work; 71 70 72 71 wait_queue_head_t read_queue; 73 72 struct mutex lock; /* for serializing fm radio operations */ ··· 965 966 r = core->write(core, WL1273_INT_MASK_SET, radio->irq_flags); 966 967 if (r) 967 968 goto out; 968 - 969 - /* stop rds reception */ 970 - cancel_delayed_work(&radio->work); 971 969 972 970 /* Service pending read */ 973 971 wake_up_interruptible(&radio->read_queue); ··· 2167 2171 2168 2172 static void __exit wl1273_fm_module_exit(void) 2169 2173 { 2170 - flush_scheduled_work(); 2171 2174 platform_driver_unregister(&wl1273_fm_radio_driver); 2172 2175 pr_info(DRIVER_DESC ", Exiting.\n"); 2173 2176 }