staging: dgnc: Avoid multiple blank lines
PATCH 1/1 staging: dgnc: Avoid multiple blank lines
This patch removes the checkpatch.pl warnings regarding multiple blank lines as single blank line is the preferred coding style.
Signed-off-by Rehas Sachdeva <[email protected]>
--- drivers/staging/dgnc/dgnc_driver.h | 8 -------- drivers/staging/dgnc/dgnc_neo.h | 1 - drivers/staging/dgnc/dgnc_pci.h | 1 - 3 files changed, 10 deletions(-)
drivers/staging/dgnc/dgnc_driver.h +0 -8
@@ -88,7 +88,6 @@#define _POSIX_VDISABLE '\0'#endif -/* * All the possible states the driver can be while being loaded. */
@@ -106,7 +105,6 @@ enum { BOARD_READY }; -/************************************************************************* * * Structures and closely related defines.
@@ -145,7 +143,6 @@ struct board_ops {************************************************************************/ #define BD_IS_PCI_EXPRESS 0x0001/* Is a PCI Express board */ -/* * Per-board information */
@@ -241,7 +238,6 @@ struct dgnc_board { }; -/************************************************************************ * Unit flag definitions for un_flags. ************************************************************************/
@@ -277,7 +273,6 @@ struct un_t {struct device *un_sysfs; }; -/************************************************************************ * Device flag definitions for ch_flags. ************************************************************************/
@@ -300,7 +295,6 @@ struct un_t {#define CH_FORCED_STOP 0x20000/* Output is forcibly stopped */ #define CH_FORCED_STOPI 0x40000/* Input is forcibly stopped */ -/* Our Read/Error/Write queue sizes */ #define RQUEUEMASK 0x1FFF/* 8 K - 1 */ #define EQUEUEMASK 0x1FFF/* 8 K - 1 */
@@ -309,7 +303,6 @@ struct un_t {#define EQUEUESIZE RQUEUESIZE#define WQUEUESIZE (WQUEUEMASK + 1) -/************************************************************************ * Channel information structure. ************************************************************************/
@@ -397,7 +390,6 @@ struct channel_t {ulong ch_intr_tx;/* Count of interrupts */ ulong ch_intr_rx;/* Count of interrupts */ -/* /proc/<board>/<channel> entries */ struct proc_dir_entry *proc_entry_pointer;struct dgnc_proc_entry *dgnc_channel_table;
drivers/staging/dgnc/dgnc_neo.h +0 -1
@@ -65,7 +65,6 @@ struct neo_uart_struct {#define NEO_EEDO 0x80/* Data Out is an Input Pin */ #define NEO_EEREG 0x8E/* offset to EEPROM control reg */ -#define NEO_VPD_IMAGESIZE 0x40/* size of image to read from EEPROM in words */ #define NEO_VPD_IMAGEBYTES (NEO_VPD_IMAGESIZE * 2)
drivers/staging/dgnc/dgnc_pci.h +0 -1
@@ -59,7 +59,6 @@#define PCI_DEVICE_NEO_EXPRESS_8RJ45_PCI_NAME "Neo 8 PCI Express RJ45"#define PCI_DEVICE_NEO_EXPRESS_4_IBM_PCI_NAME "Neo 4 PCI Express IBM" -/* Size of Memory and I/O for PCI (4 K) */ #define PCI_RAM_SIZE 0x1000
Signature · 1 line
2.1.4