Staging: wlan-ng: remove typedef in p80211ioctl.h
authorEdgardo Hames <ehames@gmail.com>
Sat, 31 Jul 2010 16:29:22 +0000 (13:29 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 3 Aug 2010 01:20:03 +0000 (18:20 -0700)
This patches removes the only typedef in p80211ioctl.h

Signed-off-by: Edgardo Hames <ehames@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/wlan-ng/p80211ioctl.h
drivers/staging/wlan-ng/p80211netdev.c

index 64ca7f95262caa58bb5287bd8c4125f298ca7567..0d47765452ee0532bd808d3285188b687ac2e705 100644 (file)
 /*  argument to the ioctl system call when issuing a request to */
 /*  the p80211 module. */
 
-typedef struct p80211ioctl_req {
+struct p80211ioctl_req {
        char name[WLAN_DEVNAMELEN_MAX];
        caddr_t data;
        u32 magic;
        u16 len;
        u32 result;
-} __attribute__ ((packed)) p80211ioctl_req_t;
+} __attribute__ ((packed));
 
 #endif /* _P80211IOCTL_H */
index 5b68af04d4e93bdc50e55b64bb5716b7a24062ed..a57ac5265a0b6ee38b51a805e811b389c009da30 100644 (file)
@@ -560,7 +560,7 @@ static int p80211netdev_ethtool(wlandevice_t *wlandev, void __user *useraddr)
 static int p80211knetdev_do_ioctl(netdevice_t *dev, struct ifreq *ifr, int cmd)
 {
        int result = 0;
-       p80211ioctl_req_t *req = (p80211ioctl_req_t *) ifr;
+       struct p80211ioctl_req *req = (struct p80211ioctl_req *) ifr;
        wlandevice_t *wlandev = dev->ml_priv;
        u8 *msgbuf;