From patchwork Thu May 12 20:18:09 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ondrej Zary X-Patchwork-Id: 780852 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p4CKIkOw019112 for ; Thu, 12 May 2011 20:18:46 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758594Ab1ELUST (ORCPT ); Thu, 12 May 2011 16:18:19 -0400 Received: from mail1-out1.atlantis.sk ([80.94.52.55]:49419 "EHLO mail.atlantis.sk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757573Ab1ELUSR (ORCPT ); Thu, 12 May 2011 16:18:17 -0400 Received: (qmail 17379 invoked from network); 12 May 2011 20:18:19 -0000 Received: from unknown (HELO pentium) (rainbow@rainbow-software.org@85.216.180.141) by mail.atlantis.sk with AES256-SHA encrypted SMTP; 12 May 2011 20:18:19 -0000 From: Ondrej Zary To: alsa-devel@alsa-project.org Subject: [PATCH 2/3] tea575x: remove unused card from struct Date: Thu, 12 May 2011 22:18:09 +0200 User-Agent: KMail/1.9.10 Cc: linux-media@vger.kernel.org, "Kernel development list" MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201105122218.11969.linux@rainbow-software.org> 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 (demeter2.kernel.org [140.211.167.43]); Thu, 12 May 2011 20:18:46 +0000 (UTC) struct snd_card *card is present in struct snd_tea575x but never used. Remove it. Signed-off-by: Ondrej Zary --- linux-2.6.39-rc2-/include/sound/tea575x-tuner.h 2011-05-12 21:22:35.000000000 +0200 +++ linux-2.6.39-rc2/include/sound/tea575x-tuner.h 2011-05-12 21:21:37.000000000 +0200 @@ -42,7 +42,6 @@ struct snd_tea575x_ops { }; struct snd_tea575x { - struct snd_card *card; struct video_device *vd; /* video device */ bool tea5759; /* 5759 chip is present */ bool mute; /* Device is muted? */ --- linux-2.6.39-rc2-/sound/pci/es1968.c 2011-05-12 21:22:35.000000000 +0200 +++ linux-2.6.39-rc2/sound/pci/es1968.c 2011-05-12 21:22:09.000000000 +0200 @@ -2793,7 +2793,6 @@ static int __devinit snd_es1968_create(s snd_card_set_dev(card, &pci->dev); #ifdef CONFIG_SND_ES1968_RADIO - chip->tea.card = card; chip->tea.private_data = chip; chip->tea.ops = &snd_es1968_tea_ops; if (!snd_tea575x_init(&chip->tea)) --- linux-2.6.39-rc2-/sound/pci/fm801.c 2011-05-12 21:22:35.000000000 +0200 +++ linux-2.6.39-rc2/sound/pci/fm801.c 2011-05-12 21:22:05.000000000 +0200 @@ -1230,7 +1230,6 @@ static int __devinit snd_fm801_create(st snd_card_set_dev(card, &pci->dev); #ifdef TEA575X_RADIO - chip->tea.card = card; chip->tea.private_data = chip; chip->tea.ops = &snd_fm801_tea_ops; if ((tea575x_tuner & TUNER_TYPE_MASK) > 0 &&