]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Staging: wlan-ng: p80211ioctl.h: Coding style cleanups
authorMoritz Muehlenhoff <jmm@debian.org>
Sun, 8 Feb 2009 01:20:52 +0000 (02:20 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:53:21 +0000 (14:53 -0700)
Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/wlan-ng/p80211ioctl.h
drivers/staging/wlan-ng/p80211metadef.h

index 10e11358ada27b39177380448ab801d13cae0b81..64ca7f95262caa58bb5287bd8c4125f298ca7567 100644 (file)
 * --------------------------------------------------------------------
 */
 
-
 #ifndef _P80211IOCTL_H
 #define _P80211IOCTL_H
 
-/*================================================================*/
-/* Constants */
-
-/*----------------------------------------------------------------*/
 /* p80211 ioctl "request" codes.  See argument 2 of ioctl(2). */
 
 #define P80211_IFTEST          (SIOCDEVPRIVATE + 0)
 
 #define P80211_IOCTL_MAGIC     (0x4a2d464dUL)
 
-/*================================================================*/
-/* Types */
-
 /*----------------------------------------------------------------*/
 /* A ptr to the following structure type is passed as the third */
 /*  argument to the ioctl system call when issuing a request to */
 /*  the p80211 module. */
 
-typedef struct p80211ioctl_req
-{
-       char    name[WLAN_DEVNAMELEN_MAX];
+typedef struct p80211ioctl_req {
+       char name[WLAN_DEVNAMELEN_MAX];
        caddr_t data;
-       u32     magic;
-       u16     len;
-       u32     result;
-} __attribute__((packed)) p80211ioctl_req_t;
+       u32 magic;
+       u16 len;
+       u32 result;
+} __attribute__ ((packed)) p80211ioctl_req_t;
 
 #endif /* _P80211IOCTL_H */
index 26889e285ae7a63cf3085cbb0f8f39435d0de5a2..a29d6ae3e7701ab0c6d72fd09930b7aad1fef0e9 100644 (file)
@@ -47,7 +47,6 @@
 #ifndef _P80211MKMETADEF_H
 #define _P80211MKMETADEF_H
 
-
 #define DIDmsg_dot11req_mibget \
                        (P80211DID_MKSECTION(1) | \
                        P80211DID_MKGROUP(1))