From patchwork Sat Sep 12 18:10:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malcolm Priestley X-Patchwork-Id: 7167151 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 60EEEBEEC1 for ; Sat, 12 Sep 2015 18:11:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5DCC0206F7 for ; Sat, 12 Sep 2015 18:11:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 81A4F20723 for ; Sat, 12 Sep 2015 18:11:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754556AbbILSL2 (ORCPT ); Sat, 12 Sep 2015 14:11:28 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:34843 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752441AbbILSLI (ORCPT ); Sat, 12 Sep 2015 14:11:08 -0400 Received: by wicge5 with SMTP id ge5so96622552wic.0 for ; Sat, 12 Sep 2015 11:11:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2SYrsvqPUU5YwUqOcMxgOnh0a0qMJ4LyAB2mgXPq5go=; b=QKjjRIxR/C9H69hm1gDU421wKU5r/SdHs798jtniKId9u9f8SYCRVMWaGxgDQdO46R qxMbk6RtfFtBQLPzrP+u+HOfVDsKaQDtZ59tKDypBQJGRu+3KwS8wi0dkbm8AI55Vl+C PzAzeNkjSztgR20MZYPP1O05u+WylMLL6PKOc9TzuJs9fgDRzR7H9V25VEf8uaEPfEaZ XaKnw8TkqxYxLuhhphxTeSipd/kjWR9UPRybodmUbC0KnDIbfv8D0yFzIZRpSCgYwI5C ffj1SvkS6XGs71qjQ74B37dQVx8tB53hmvAYb/Sv5Dom6n6Fr4ymezgDq2R/pHQMXxHl xUlA== X-Received: by 10.180.221.193 with SMTP id qg1mr8392494wic.87.1442081467544; Sat, 12 Sep 2015 11:11:07 -0700 (PDT) Received: from tipsey.3.home (188.31.129.159.threembb.co.uk. [188.31.129.159]) by smtp.gmail.com with ESMTPSA id c3sm6628188wja.3.2015.09.12.11.11.06 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 12 Sep 2015 11:11:07 -0700 (PDT) From: Malcolm Priestley To: gregkh@linuxfoundation.org Cc: linux-wireless@vger.kernel.org, Malcolm Priestley Subject: [PATCH 04/11] staging: vt6655: remove unused multicast_limit. Date: Sat, 12 Sep 2015 19:10:31 +0100 Message-Id: <1442081438-3485-4-git-send-email-tvboxspy@gmail.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1442081438-3485-1-git-send-email-tvboxspy@gmail.com> References: <1442081438-3485-1-git-send-email-tvboxspy@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP multicast_limit is assigned a vale that is never used. Signed-off-by: Malcolm Priestley --- drivers/staging/vt6655/device.h | 1 - drivers/staging/vt6655/device_main.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index be42e44..f020bb1 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -256,7 +256,6 @@ struct vnt_private { u32 rx_buf_sz; u8 rx_rate; - int multicast_limit; u32 rx_bytes; diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index 4bc9ba0..fcc4510 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -442,7 +442,6 @@ static void vt6655_init_info(struct pci_dev *pcid, memset(*ppDevice, 0, sizeof(**ppDevice)); (*ppDevice)->pcid = pcid; - (*ppDevice)->multicast_limit = 32; spin_lock_init(&((*ppDevice)->lock)); }