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: 5664 Return-path: Envelope-to: mchehab@pedra Delivery-date: Mon, 24 Jan 2011 12:24:16 -0200 Received: from mchehab by pedra with local (Exim 4.72) (envelope-from ) id 1PhNL6-0005Vd-IH for mchehab@pedra; Mon, 24 Jan 2011 12:24:16 -0200 Received: from casper.infradead.org [85.118.1.10] by pedra with IMAP (fetchmail-6.3.17) for (single-drop); Mon, 24 Jan 2011 12:24:16 -0200 (BRST) Received: from vger.kernel.org ([209.132.180.67]) by casper.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1PhNKX-00027y-59; Mon, 24 Jan 2011 14:23:41 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752890Ab1AXOXV (ORCPT + 1 other); 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) Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Sender: 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 Cc: Matti Aaltonen Cc: Mauro Carvalho Chehab --- drivers/media/radio/radio-wl1273.c | 5 ----- 1 file changed, 5 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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"); }