OSDN Git Service

staging: brcm80211: remove unrefrenced malloced field
authormike.rapoport@gmail.com <mike.rapoport@gmail.com>
Tue, 12 Oct 2010 22:09:13 +0000 (00:09 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 14 Oct 2010 19:30:01 +0000 (12:30 -0700)
from 'struct osl_info' structure

Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/util/linux_osl.c

index 2568720..34450a4 100644 (file)
@@ -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;