From patchwork Wed Mar 23 13:35:57 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 655751 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 p2NDadTS004316 for ; Wed, 23 Mar 2011 13:36:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755979Ab1CWNgT (ORCPT ); Wed, 23 Mar 2011 09:36:19 -0400 Received: from zone0.gcu-squad.org ([212.85.147.21]:18407 "EHLO services.gcu-squad.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755969Ab1CWNgS (ORCPT ); Wed, 23 Mar 2011 09:36:18 -0400 Received: from jdelvare.pck.nerim.net ([62.212.121.182] helo=endymion.delvare) by services.gcu-squad.org (GCU Mailer Daemon) with esmtpsa id 1Q2PL4-0001WS-M0 (TLSv1:AES128-SHA:128) (envelope-from ) ; Wed, 23 Mar 2011 15:47:10 +0100 Date: Wed, 23 Mar 2011 14:35:57 +0100 From: Jean Delvare To: LMML Cc: Hans Verkuil Subject: [PATCH] zoran: Drop unused module parameters encoder and decoder Message-ID: <20110323143557.40ad9df7@endymion.delvare> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.20.1; x86_64-unknown-linux-gnu) Mime-Version: 1.0 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]); Wed, 23 Mar 2011 13:36:39 +0000 (UTC) --- linux-2.6.39-rc0.orig/Documentation/video4linux/Zoran 2011-03-23 10:34:22.000000000 +0100 +++ linux-2.6.39-rc0/Documentation/video4linux/Zoran 2011-03-23 13:21:22.000000000 +0100 @@ -130,7 +130,6 @@ Card number: 4 Note: No module for the mse3000 is available yet Note: No module for the vpx3224 is available yet -Note: use encoder=X or decoder=X for non-default i2c chips =========================== --- linux-2.6.39-rc0.orig/drivers/media/video/zoran/zoran_card.c 2011-03-21 17:46:15.000000000 +0100 +++ linux-2.6.39-rc0/drivers/media/video/zoran/zoran_card.c 2011-03-23 13:21:22.000000000 +0100 @@ -64,14 +64,6 @@ static int card[BUZ_MAX] = { [0 ... (BUZ module_param_array(card, int, NULL, 0444); MODULE_PARM_DESC(card, "Card type"); -static int encoder[BUZ_MAX] = { [0 ... (BUZ_MAX-1)] = -1 }; -module_param_array(encoder, int, NULL, 0444); -MODULE_PARM_DESC(encoder, "Video encoder chip"); - -static int decoder[BUZ_MAX] = { [0 ... (BUZ_MAX-1)] = -1 }; -module_param_array(decoder, int, NULL, 0444); -MODULE_PARM_DESC(decoder, "Video decoder chip"); - /* The video mem address of the video card. The driver has a little database for some videocards