From patchwork Mon Nov 12 21:58:21 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Mikityanskiy X-Patchwork-Id: 1731291 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 786C73FCDE for ; Mon, 12 Nov 2012 21:59:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753872Ab2KLV7D (ORCPT ); Mon, 12 Nov 2012 16:59:03 -0500 Received: from mail-ee0-f46.google.com ([74.125.83.46]:49658 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753712Ab2KLV7B (ORCPT ); Mon, 12 Nov 2012 16:59:01 -0500 Received: by mail-ee0-f46.google.com with SMTP id b15so3644080eek.19 for ; Mon, 12 Nov 2012 13:59:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=eyKqi7kYniWQNZgdeVC2uWz1ioukaBOjsTihizraDAY=; b=A5KfWKcfYfGFh97ZrMgVGTmIzJIcygKNJyGr3vF4vOK/Y4P39VCI1Yu8hnXy5GAoWt O3AJzLmGJ7lmHDDkln9FtFlFjhkn0bU08uaaOncK2NpC2mLstLjvZ97RSqahvJuPcfQU OOFW3nJB6vVZSU0+JnsVY6M5jO1yZdYAvnf9/2eQQe24ZIcrNpfGviutKVLkPVjHdtRH Xj+Fs3835hPxvuVCOkydmiOeeA4EcJIvxpRvfvXBgn9usuBMYwZTQFqkYCUi796Xae7I cY00fbVFRWMb2SgOyKcfjCZR3MWSnMLFCrW1QTB7B+25GI7hSm41cYV/smWfTjnuSpAE 1qKA== Received: by 10.14.193.134 with SMTP id k6mr26170385een.15.1352757540469; Mon, 12 Nov 2012 13:59:00 -0800 (PST) Received: from laptop.olymp.linuxd.org (63-85-92-178.pool.ukrtel.net. [178.92.85.63]) by mx.google.com with ESMTPS id f3sm18449256eeo.13.2012.11.12.13.58.58 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Nov 2012 13:58:59 -0800 (PST) From: Maxim Mikityanskiy To: greg@kroah.com, linux-wireless@vger.kernel.org Cc: Maxim Mikityanskiy Subject: [PATCH 07/17] Removed unused module parameters and fixed module description Date: Mon, 12 Nov 2012 23:58:21 +0200 Message-Id: <1352757511-26957-8-git-send-email-maxtram95@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1352757511-26957-1-git-send-email-maxtram95@gmail.com> References: <1352757511-26957-1-git-send-email-maxtram95@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Signed-off-by: Maxim Mikityanskiy --- r8180_core.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/r8180_core.c b/r8180_core.c index e04bb04..203e546 100644 --- a/r8180_core.c +++ b/r8180_core.c @@ -61,28 +61,18 @@ static struct pci_device_id rtl8180_pci_id_tbl[] __devinitdata = { } }; - static char ifname[IFNAMSIZ] = "wlan%d"; -static int hwseqnum = 0; static int hwwep = 0; -static int channels = 0x3fff; MODULE_LICENSE("GPL"); MODULE_DEVICE_TABLE(pci, rtl8180_pci_id_tbl); MODULE_AUTHOR("Andrea Merello "); -MODULE_DESCRIPTION("Linux driver for Realtek RTL8180 / RTL8185 WiFi cards"); - +MODULE_DESCRIPTION("Linux driver for Realtek RTL8187SE WiFi cards"); module_param_string(ifname, ifname, sizeof(ifname), S_IRUGO|S_IWUSR); -module_param(hwseqnum, int, S_IRUGO|S_IWUSR); module_param(hwwep, int, S_IRUGO|S_IWUSR); -module_param(channels, int, S_IRUGO|S_IWUSR); -MODULE_PARM_DESC(devname, " Net interface name, wlan%d=default"); -MODULE_PARM_DESC(hwseqnum, " Try to use hardware 802.11 header sequence numbers. Zero=default"); MODULE_PARM_DESC(hwwep, " Try to use hardware WEP support. Still broken and not available on all cards"); -MODULE_PARM_DESC(channels, " Channel bitmask for specific locales. NYI"); - static int __devinit rtl8180_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id);