Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2020 21:46:42 +0000 (UTC)
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r365131 - head/sys/dev/wi
Message-ID:  <202009012146.081LkgdW040060@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mjg
Date: Tue Sep  1 21:46:42 2020
New Revision: 365131
URL: https://svnweb.freebsd.org/changeset/base/365131

Log:
  wi: clean up empty lines in .c and .h files

Modified:
  head/sys/dev/wi/if_wavelan_ieee.h
  head/sys/dev/wi/if_wi.c
  head/sys/dev/wi/if_wi_macio.c
  head/sys/dev/wi/if_wi_pccard.c
  head/sys/dev/wi/if_wi_pci.c

Modified: head/sys/dev/wi/if_wavelan_ieee.h
==============================================================================
--- head/sys/dev/wi/if_wavelan_ieee.h	Tue Sep  1 21:46:27 2020	(r365130)
+++ head/sys/dev/wi/if_wavelan_ieee.h	Tue Sep  1 21:46:42 2020	(r365131)
@@ -478,7 +478,6 @@ struct wi_rx_frame {
 #define WI_MGMT_HDRLEN		0x3C
 #define WI_CTL_HDRLEN		0x3C
 
-
 /*
  * all data packets have a snap (sub-network access protocol) header that
  * isn't entirely definied, but added for ethernet compatibility.
@@ -488,7 +487,6 @@ struct wi_snap_frame {
 	u_int16_t	wi_type;
 };
 
-
 /*
  * management frame headers
  * note: all management frames consist of a static header and variable length
@@ -592,7 +590,6 @@ struct wi_mgmt_deauth_hdr {
 	u_int16_t	wi_reason;
 };
 
-
 /*
  * rid configuration register definitions
  */
@@ -602,7 +599,6 @@ struct wi_mgmt_deauth_hdr {
 #define WI_RID_PROCFRAME	0x3137 /* Return full frame information */
 #define WI_RID_PRISM2		0x3138 /* tell if we're a prism2 card or not */
 
-
 /*
  * 802.11 definitions
  */
@@ -650,7 +646,6 @@ struct wi_mgmt_deauth_hdr {
 
 #define WI_FCS_LEN		0x4 /* checksum length */
 
-
 /*
  * management definitions
  */
@@ -693,7 +688,6 @@ struct wi_mgmt_deauth_hdr {
 
 #define WI_VAR_SRATES_MASK	0x7F
 
-
 /*
  * control definitions
  */
@@ -704,7 +698,6 @@ struct wi_mgmt_deauth_hdr {
 #define WI_STYPE_CTL_CFEND	0x00E0
 #define WI_STYPE_CTL_CFENDCFACK	0x00F0
 
-
 /*
  * ap scanning structures
  */
@@ -728,7 +721,6 @@ struct wi_scan_p2_hdr {
 	u_int16_t	wi_reason;
 };
 #define WI_PRISM2_RES_SIZE	62
-
 
 /*
  * prism2 debug mode definitions

Modified: head/sys/dev/wi/if_wi.c
==============================================================================
--- head/sys/dev/wi/if_wi.c	Tue Sep  1 21:46:27 2020	(r365130)
+++ head/sys/dev/wi/if_wi.c	Tue Sep  1 21:46:42 2020	(r365131)
@@ -162,7 +162,7 @@ static void wi_scan_end(struct ieee80211com *);
 static void wi_getradiocaps(struct ieee80211com *, int, int *,
 		struct ieee80211_channel[]);
 static void wi_set_channel(struct ieee80211com *);
-	
+
 static __inline int
 wi_write_val(struct wi_softc *sc, int rid, u_int16_t val)
 {

Modified: head/sys/dev/wi/if_wi_macio.c
==============================================================================
--- head/sys/dev/wi/if_wi_macio.c	Tue Sep  1 21:46:27 2020	(r365130)
+++ head/sys/dev/wi/if_wi_macio.c	Tue Sep  1 21:46:42 2020	(r365131)
@@ -87,7 +87,6 @@ static device_method_t wi_macio_methods[] = {
 	DEVMETHOD(device_attach,	wi_macio_attach),
 	DEVMETHOD(device_detach,	wi_detach),
 	DEVMETHOD(device_shutdown,	wi_shutdown),
-
 	{ 0, 0 }
 };
 

Modified: head/sys/dev/wi/if_wi_pccard.c
==============================================================================
--- head/sys/dev/wi/if_wi_pccard.c	Tue Sep  1 21:46:27 2020	(r365130)
+++ head/sys/dev/wi/if_wi_pccard.c	Tue Sep  1 21:46:42 2020	(r365131)
@@ -85,7 +85,6 @@ static device_method_t wi_pccard_methods[] = {
 	DEVMETHOD(device_attach,	wi_pccard_attach),
 	DEVMETHOD(device_detach,	wi_detach),
 	DEVMETHOD(device_shutdown,	wi_shutdown),
-
 	{ 0, 0 }
 };
 

Modified: head/sys/dev/wi/if_wi_pci.c
==============================================================================
--- head/sys/dev/wi/if_wi_pci.c	Tue Sep  1 21:46:27 2020	(r365130)
+++ head/sys/dev/wi/if_wi_pci.c	Tue Sep  1 21:46:42 2020	(r365131)
@@ -84,7 +84,6 @@ static device_method_t wi_pci_methods[] = {
 	DEVMETHOD(device_shutdown,	wi_shutdown),
 	DEVMETHOD(device_suspend,	wi_pci_suspend),
 	DEVMETHOD(device_resume,	wi_pci_resume),
-
 	{ 0, 0 }
 };
 
@@ -246,7 +245,7 @@ wi_pci_suspend(device_t dev)
 	WI_LOCK(sc);
 	wi_stop(sc, 1);
 	WI_UNLOCK(sc);
-	
+
 	return (0);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009012146.081LkgdW040060>