From patchwork Tue Oct 12 22:09:13 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 249171 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 o9CMApGU000833 for ; Tue, 12 Oct 2010 22:10:51 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751797Ab0JLWKu (ORCPT ); Tue, 12 Oct 2010 18:10:50 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:43534 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751757Ab0JLWKu (ORCPT ); Tue, 12 Oct 2010 18:10:50 -0400 Received: by mail-bw0-f46.google.com with SMTP id 15so2776714bwz.19 for ; Tue, 12 Oct 2010 15:10:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:to:cc:subject :date:message-id:x-mailer:in-reply-to:references; bh=ud0HCpwEpFZwnCXvmp7mCuMmw8Tsi/UGy+aRBMFnH7I=; b=hDGfg246X2j+tvVss+Kf0aXSAVyAx+Mpnc8MWxWmfkMjZWfGHpq1Om0vi6Yo0Mp7Kd XlkF0SInuHEV0hWfMRaFTw00PovwKpZKGw109MNmfuJ3vVb4fQHaNRZWn/Hva49+kZH+ 9U19HmAzy3QMDojriz3RKsaYG6OeZ30m7luyc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=pXwTl2NnZvqqtHghsBTKb+0LP8gm38ohJ71bWH3ofV5Qntugev0RfXyXZDeHWsZp7O m2UY0GeP2h6wH+IUMnFv/urmG6Q9G6Yu3FTgR49WkQX+kbhCbFIayjuOCvE4qKG/BckK 8vf71fO+iWtpD7Sp4lg0MrbbvxBiTeW2kld5s= Received: by 10.204.160.146 with SMTP id n18mr6935973bkx.116.1286921448429; Tue, 12 Oct 2010 15:10:48 -0700 (PDT) Received: from funnykid (93-172-175-2.bb.netvision.net.il [93.172.175.2]) by mx.google.com with ESMTPS id l14sm6179545bkb.19.2010.10.12.15.10.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 12 Oct 2010 15:10:45 -0700 (PDT) Received: by funnykid (sSMTP sendmail emulation); Wed, 13 Oct 2010 00:10:36 +0200 From: mike.rapoport@gmail.com To: Greg Kroah-Hartman Cc: Brett Rudley , Henry Ptasinski , Nohee Ko , linux-wireless@vger.kernel.org, Mike Rapoport Subject: [PATCH 7/7] staging: brcm80211: remove unrefrenced malloced field Date: Wed, 13 Oct 2010 00:09:13 +0200 Message-Id: X-Mailer: git-send-email 1.6.4.4 In-Reply-To: References: Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 12 Oct 2010 22:10:51 +0000 (UTC) diff --git a/drivers/staging/brcm80211/util/linux_osl.c b/drivers/staging/brcm80211/util/linux_osl.c index 876d72f..d86afba 100644 --- a/drivers/staging/brcm80211/util/linux_osl.c +++ b/drivers/staging/brcm80211/util/linux_osl.c @@ -37,7 +37,6 @@ struct osl_info { osl_pubinfo_t pub; uint magic; void *pdev; - uint malloced; uint failed; uint bustype; }; @@ -128,7 +127,6 @@ osl_t *osl_attach(void *pdev, uint bustype, bool pkttag) #endif /* BRCM_FULLMAC */ osh->magic = OS_HANDLE_MAGIC; - osh->malloced = 0; osh->failed = 0; osh->pdev = pdev; osh->pub.pkttag = pkttag;