Commit 868e90d5 authored by Tejun Heo's avatar Tejun Heo Committed by Mauro Carvalho Chehab

[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: default avatarTejun Heo <tj@kernel.org>
Cc: Matti Aaltonen <matti.j.aaltonen@nokia.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 7e270941
...@@ -67,7 +67,6 @@ struct wl1273_device { ...@@ -67,7 +67,6 @@ struct wl1273_device {
/* RDS */ /* RDS */
unsigned int rds_on; unsigned int rds_on;
struct delayed_work work;
wait_queue_head_t read_queue; wait_queue_head_t read_queue;
struct mutex lock; /* for serializing fm radio operations */ struct mutex lock; /* for serializing fm radio operations */
...@@ -967,9 +966,6 @@ static int wl1273_fm_rds_off(struct wl1273_device *radio) ...@@ -967,9 +966,6 @@ static int wl1273_fm_rds_off(struct wl1273_device *radio)
if (r) if (r)
goto out; goto out;
/* stop rds reception */
cancel_delayed_work(&radio->work);
/* Service pending read */ /* Service pending read */
wake_up_interruptible(&radio->read_queue); wake_up_interruptible(&radio->read_queue);
...@@ -2171,7 +2167,6 @@ module_init(wl1273_fm_module_init); ...@@ -2171,7 +2167,6 @@ module_init(wl1273_fm_module_init);
static void __exit wl1273_fm_module_exit(void) static void __exit wl1273_fm_module_exit(void)
{ {
flush_scheduled_work();
platform_driver_unregister(&wl1273_fm_radio_driver); platform_driver_unregister(&wl1273_fm_radio_driver);
pr_info(DRIVER_DESC ", Exiting.\n"); pr_info(DRIVER_DESC ", Exiting.\n");
} }
......
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