diff options
author | Tejun Heo <tj@kernel.org> | 2011-01-24 09:23:15 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-22 05:51:56 -0400 |
commit | 868e90d55c0eb6f3c5949c2a747714072c3e080a (patch) | |
tree | fd0ff17efa870cfe318b0963d6cf72c96b63cf6a /drivers/media/radio | |
parent | 7e270941c8f0a11224e383d3d38946451f66fbbf (diff) |
[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>
Diffstat (limited to 'drivers/media/radio')
-rw-r--r-- | drivers/media/radio/radio-wl1273.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/media/radio/radio-wl1273.c b/drivers/media/radio/radio-wl1273.c index 9e177dccc673..46cacf845049 100644 --- a/drivers/media/radio/radio-wl1273.c +++ b/drivers/media/radio/radio-wl1273.c | |||
@@ -67,7 +67,6 @@ struct wl1273_device { | |||
67 | 67 | ||
68 | /* RDS */ | 68 | /* RDS */ |
69 | unsigned int rds_on; | 69 | unsigned int rds_on; |
70 | struct delayed_work work; | ||
71 | 70 | ||
72 | wait_queue_head_t read_queue; | 71 | wait_queue_head_t read_queue; |
73 | struct mutex lock; /* for serializing fm radio operations */ | 72 | struct mutex lock; /* for serializing fm radio operations */ |
@@ -967,9 +966,6 @@ static int wl1273_fm_rds_off(struct wl1273_device *radio) | |||
967 | if (r) | 966 | if (r) |
968 | goto out; | 967 | goto out; |
969 | 968 | ||
970 | /* stop rds reception */ | ||
971 | cancel_delayed_work(&radio->work); | ||
972 | |||
973 | /* Service pending read */ | 969 | /* Service pending read */ |
974 | wake_up_interruptible(&radio->read_queue); | 970 | wake_up_interruptible(&radio->read_queue); |
975 | 971 | ||
@@ -2171,7 +2167,6 @@ module_init(wl1273_fm_module_init); | |||
2171 | 2167 | ||
2172 | static void __exit wl1273_fm_module_exit(void) | 2168 | static void __exit wl1273_fm_module_exit(void) |
2173 | { | 2169 | { |
2174 | flush_scheduled_work(); | ||
2175 | platform_driver_unregister(&wl1273_fm_radio_driver); | 2170 | platform_driver_unregister(&wl1273_fm_radio_driver); |
2176 | pr_info(DRIVER_DESC ", Exiting.\n"); | 2171 | pr_info(DRIVER_DESC ", Exiting.\n"); |
2177 | } | 2172 | } |