Commit fabb93f1 authored by Chaehyun Lim's avatar Chaehyun Lim Committed by Greg Kroah-Hartman

staging: most: remove multiple blank lines

This patch removes multiple blank lines found by checkpatch.
CHECK: Please don't use multiple blank lines
Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 25e168a4
...@@ -15,9 +15,7 @@ ...@@ -15,9 +15,7 @@
#include "mostcore.h" #include "mostcore.h"
void most_deliver_netinfo(struct most_interface *iface, void most_deliver_netinfo(struct most_interface *iface,
unsigned char link_stat, unsigned char *mac_addr); unsigned char link_stat, unsigned char *mac_addr);
#endif #endif
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
extern "C" { extern "C" {
#endif #endif
/** /**
* MOST DIM errors. * MOST DIM errors.
*/ */
...@@ -59,7 +58,6 @@ enum dim_errors_t { ...@@ -59,7 +58,6 @@ enum dim_errors_t {
DIM_ERR_OVERFLOW, DIM_ERR_OVERFLOW,
}; };
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#include <linux/types.h> #include <linux/types.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
...@@ -66,7 +65,6 @@ struct dim_channel { ...@@ -66,7 +65,6 @@ struct dim_channel {
u16 done_sw_buffers_number; /*< Done software buffers number. */ u16 done_sw_buffers_number; /*< Done software buffers number. */
}; };
u8 DIM_Startup(void *dim_base_address, u32 mlb_clock); u8 DIM_Startup(void *dim_base_address, u32 mlb_clock);
void DIM_Shutdown(void); void DIM_Shutdown(void);
...@@ -111,7 +109,6 @@ void DIMCB_IoWrite(u32 *ptr32, u32 value); ...@@ -111,7 +109,6 @@ void DIMCB_IoWrite(u32 *ptr32, u32 value);
void DIMCB_OnError(u8 error_id, const char *error_message); void DIMCB_OnError(u8 error_id, const char *error_message);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
extern "C" { extern "C" {
#endif #endif
struct dim2_regs { struct dim2_regs {
/* 0x00 */ u32 MLBC0; /* 0x00 */ u32 MLBC0;
/* 0x01 */ u32 rsvd0[1]; /* 0x01 */ u32 rsvd0[1];
...@@ -67,7 +66,6 @@ struct dim2_regs { ...@@ -67,7 +66,6 @@ struct dim2_regs {
/* 0xF7 */ u32 ACMR1; /* 0xF7 */ u32 ACMR1;
}; };
#define DIM2_MASK(n) (~((~(u32)0)<<(n))) #define DIM2_MASK(n) (~((~(u32)0)<<(n)))
enum { enum {
...@@ -168,7 +166,6 @@ enum { ...@@ -168,7 +166,6 @@ enum {
CAT_CL_MASK = DIM2_MASK(6) CAT_CL_MASK = DIM2_MASK(6)
}; };
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
......
...@@ -16,10 +16,8 @@ ...@@ -16,10 +16,8 @@
#ifndef DIM2_SYSFS_H #ifndef DIM2_SYSFS_H
#define DIM2_SYSFS_H #define DIM2_SYSFS_H
#include <linux/kobject.h> #include <linux/kobject.h>
struct medialb_bus { struct medialb_bus {
struct kobject kobj_group; struct kobject kobj_group;
}; };
...@@ -35,5 +33,4 @@ void dim2_sysfs_destroy(struct medialb_bus *bus); ...@@ -35,5 +33,4 @@ void dim2_sysfs_destroy(struct medialb_bus *bus);
*/ */
bool dim2_sysfs_get_state_cb(void); bool dim2_sysfs_get_state_cb(void);
#endif /* DIM2_SYSFS_H */ #endif /* DIM2_SYSFS_H */
...@@ -60,7 +60,6 @@ enum most_channel_data_type { ...@@ -60,7 +60,6 @@ enum most_channel_data_type {
MOST_CH_SYNC = 1 << 5, MOST_CH_SYNC = 1 << 5,
}; };
enum mbo_status_flags { enum mbo_status_flags {
/* MBO was processed successfully (data was send or received )*/ /* MBO was processed successfully (data was send or received )*/
MBO_SUCCESS = 0, MBO_SUCCESS = 0,
...@@ -317,5 +316,4 @@ int most_start_channel(struct most_interface *iface, int channel_idx, ...@@ -317,5 +316,4 @@ int most_start_channel(struct most_interface *iface, int channel_idx,
int most_stop_channel(struct most_interface *iface, int channel_idx, int most_stop_channel(struct most_interface *iface, int channel_idx,
struct most_aim *); struct most_aim *);
#endif /* MOST_CORE_H_ */ #endif /* MOST_CORE_H_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment