From: Arushi Singhal Date: Sat, 3 Mar 2018 05:32:33 +0000 (+0530) Subject: staging: rtl8712: Remove multiple blank line(s) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0e2bbf657ab29e5f8194760fcca3e0fe1c59c26d;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8712: Remove multiple blank line(s) Remove extra blank line(s) to conform to the Linux kernel coding style. Issue found using checkpatch. Signed-off-by: Arushi Singhal Acked-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8712/os_intfs.c b/drivers/staging/rtl8712/os_intfs.c index d6d27da3f542..ff4e451c10f9 100644 --- a/drivers/staging/rtl8712/os_intfs.c +++ b/drivers/staging/rtl8712/os_intfs.c @@ -347,7 +347,6 @@ u8 r8712_free_drv_sw(struct _adapter *padapter) return _SUCCESS; } - static void enable_video_mode(struct _adapter *padapter, int cbw40_value) { /* bit 8: diff --git a/drivers/staging/rtl8712/rtl8712_bitdef.h b/drivers/staging/rtl8712/rtl8712_bitdef.h index bff57a8eef3c..dee35fe2587a 100644 --- a/drivers/staging/rtl8712/rtl8712_bitdef.h +++ b/drivers/staging/rtl8712/rtl8712_bitdef.h @@ -18,7 +18,6 @@ * ******************************************************************************/ - #ifndef __RTL8712_BITDEF_H__ #define __RTL8712_BITDEF_H__ diff --git a/drivers/staging/rtl8712/rtl8712_cmdctrl_regdef.h b/drivers/staging/rtl8712/rtl8712_cmdctrl_regdef.h index 9374f1c48853..8df42a70399f 100644 --- a/drivers/staging/rtl8712/rtl8712_cmdctrl_regdef.h +++ b/drivers/staging/rtl8712/rtl8712_cmdctrl_regdef.h @@ -20,7 +20,6 @@ #ifndef __RTL8712_CMDCTRL_REGDEF_H__ #define __RTL8712_CMDCTRL_REGDEF_H__ - #define CR (RTL8712_CMDCTRL_ + 0x0000) #define TXPAUSE (RTL8712_CMDCTRL_ + 0x0002) #define TCR (RTL8712_CMDCTRL_ + 0x0004) @@ -29,6 +28,5 @@ #define SYSF_CFG (RTL8712_CMDCTRL_ + 0x000D) #define MBIDCTRL (RTL8712_CMDCTRL_ + 0x000E) - #endif /* __RTL8712_CMDCTRL_REGDEF_H__ */ diff --git a/drivers/staging/rtl8712/rtl8712_debugctrl_bitdef.h b/drivers/staging/rtl8712/rtl8712_debugctrl_bitdef.h index 8bd483795ca4..4b3436795cb1 100644 --- a/drivers/staging/rtl8712/rtl8712_debugctrl_bitdef.h +++ b/drivers/staging/rtl8712/rtl8712_debugctrl_bitdef.h @@ -51,5 +51,4 @@ /*FDLOCKFLAG1*/ #define _LOCKFLAG1_MSK 0x03 - #endif /* __RTL8712_DEBUGCTRL_BITDEF_H__ */ diff --git a/drivers/staging/rtl8712/rtl8712_debugctrl_regdef.h b/drivers/staging/rtl8712/rtl8712_debugctrl_regdef.h index 43630bb068f5..d7c964d436a1 100644 --- a/drivers/staging/rtl8712/rtl8712_debugctrl_regdef.h +++ b/drivers/staging/rtl8712/rtl8712_debugctrl_regdef.h @@ -41,7 +41,5 @@ #define TRXPKTBUF_DBG_CTRL (RTL8712_DEBUGCTRL_ + 0x38) #define DPLL_MON (RTL8712_DEBUGCTRL_ + 0x3A) - - #endif /* __RTL8712_DEBUGCTRL_REGDEF_H__ */ diff --git a/drivers/staging/rtl8712/rtl8712_fifoctrl_bitdef.h b/drivers/staging/rtl8712/rtl8712_fifoctrl_bitdef.h index c564dc862d9d..bd8240476d71 100644 --- a/drivers/staging/rtl8712/rtl8712_fifoctrl_bitdef.h +++ b/drivers/staging/rtl8712/rtl8712_fifoctrl_bitdef.h @@ -140,6 +140,5 @@ /*TXFF_PG_NUM*/ #define _TXFF_PG_NUM_MSK 0x0FFF - #endif /* __RTL8712_FIFOCTRL_BITDEF_H__ */ diff --git a/drivers/staging/rtl8712/rtl8712_fifoctrl_regdef.h b/drivers/staging/rtl8712/rtl8712_fifoctrl_regdef.h index 29b89c45c70c..6d527380fd29 100644 --- a/drivers/staging/rtl8712/rtl8712_fifoctrl_regdef.h +++ b/drivers/staging/rtl8712/rtl8712_fifoctrl_regdef.h @@ -71,6 +71,4 @@ #define TXQ_PGADD (RTL8712_FIFOCTRL_ + 0xB3) #define TXFF_PG_NUM (RTL8712_FIFOCTRL_ + 0xB4) - - #endif /* __RTL8712_FIFOCTRL_REGDEF_H__ */ diff --git a/drivers/staging/rtl8712/rtl8712_gp_regdef.h b/drivers/staging/rtl8712/rtl8712_gp_regdef.h index 8fc68f6a2c79..a0379360d0a3 100644 --- a/drivers/staging/rtl8712/rtl8712_gp_regdef.h +++ b/drivers/staging/rtl8712/rtl8712_gp_regdef.h @@ -37,6 +37,5 @@ #define PHY_REG_RPT (RTL8712_GP_ + 0x13) #define PHY_REG_DATA (RTL8712_GP_ + 0x14) - #endif /*__RTL8712_GP_REGDEF_H__ */ diff --git a/drivers/staging/rtl8712/rtl8712_interrupt_bitdef.h b/drivers/staging/rtl8712/rtl8712_interrupt_bitdef.h index 49598c314f09..2a561d2862e0 100644 --- a/drivers/staging/rtl8712/rtl8712_interrupt_bitdef.h +++ b/drivers/staging/rtl8712/rtl8712_interrupt_bitdef.h @@ -53,6 +53,5 @@ #define _VODOK BIT(1) #define _RXOK BIT(0) - #endif /*__RTL8712_INTERRUPT_BITDEF_H__*/