From patchwork Mon Jan 24 14:23:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tejun Heo X-Patchwork-Id: 501011 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0OJh2Wk026265 for ; Mon, 24 Jan 2011 19:45:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752890Ab1AXOXV (ORCPT ); Mon, 24 Jan 2011 09:23:21 -0500 Received: from mail-fx0-f46.google.com ([209.85.161.46]:35329 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752520Ab1AXOXU (ORCPT ); Mon, 24 Jan 2011 09:23:20 -0500 Received: by fxm20 with SMTP id 20so4068236fxm.19 for ; Mon, 24 Jan 2011 06:23:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:cc:subject:message-id :mime-version:content-type:content-disposition:user-agent; bh=OYi2v4TCQImjrUmiHvb6oV/yqgdaijpm376brkURv+c=; b=rIuV0E62rJF6GZRDQRJZoO9jkr7Fn1IU1M0Pk++5Q4r4c+h/RkeG4sVSNFK39S9V4A 6maVq8KPGNV9iy+oduyD6SD1Ps3q0OM6fGOspe6VsgroeMvh5bs0dvOX32zwpmTgiDl3 3oxf3oGQ0ffPzOjuM1TXNYRKxDRw8ksauwKrE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=hmhiOT+Uz8uEiHe7TJTG2w8FoGdul0DLWa/xtV2vaDg4l0J8WXBm8HIehZr1d1nzdE NAZZ3PX9j9TghBSXx0Z4Gf4V35Cah+P29c+6uKTZE1d2acR0OEHr5lgYm/oJxRHUu9Cs xQiB1fAGtH5V/ErGFdSpe8Mk5Q9dZgVOo6IZQ= Received: by 10.223.123.142 with SMTP id p14mr4286116far.56.1295878998822; Mon, 24 Jan 2011 06:23:18 -0800 (PST) Received: from htj.dyndns.org ([130.75.117.88]) by mx.google.com with ESMTPS id n1sm4556276fam.40.2011.01.24.06.23.17 (version=SSLv3 cipher=RC4-MD5); Mon, 24 Jan 2011 06:23:17 -0800 (PST) Date: Mon, 24 Jan 2011 15:23:15 +0100 From: Tejun Heo To: Matti Aaltonen , Mauro Carvalho Chehab Cc: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH] radio-wl1273: remove unused wl1273_device->work Message-ID: <20110124142315.GE11404@htj.dyndns.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 24 Jan 2011 19:45:14 +0000 (UTC) Index: work/drivers/media/radio/radio-wl1273.c =================================================================== --- work.orig/drivers/media/radio/radio-wl1273.c +++ work/drivers/media/radio/radio-wl1273.c @@ -67,7 +67,6 @@ struct wl1273_device { /* RDS */ unsigned int rds_on; - struct delayed_work work; wait_queue_head_t read_queue; struct mutex lock; /* for serializing fm radio operations */ @@ -1112,9 +1111,6 @@ static int wl1273_fm_rds_off(struct wl12 if (r) goto out; - /* stop rds reception */ - cancel_delayed_work(&radio->work); - /* Service pending read */ wake_up_interruptible(&radio->read_queue); @@ -2319,7 +2315,6 @@ module_init(wl1273_fm_module_init); static void __exit wl1273_fm_module_exit(void) { - flush_scheduled_work(); platform_driver_unregister(&wl1273_fm_radio_driver); pr_info(DRIVER_DESC ", Exiting.\n"); }