Unnecessary blank lines removed Signed-off-by: Tolga Ceylan <tolga.ceylan@xxxxxxxxx> --- drivers/staging/gdm724x/gdm_endian.c | 1 - drivers/staging/gdm724x/gdm_mux.c | 5 ----- drivers/staging/gdm724x/gdm_tty.c | 1 - drivers/staging/gdm724x/gdm_tty.h | 1 - drivers/staging/gdm724x/hci_packet.h | 1 - 5 files changed, 9 deletions(-) diff --git a/drivers/staging/gdm724x/gdm_endian.c b/drivers/staging/gdm724x/gdm_endian.c index f6cc90a..4044453 100644 --- a/drivers/staging/gdm724x/gdm_endian.c +++ b/drivers/staging/gdm724x/gdm_endian.c @@ -31,7 +31,6 @@ void gdm_set_endian(struct gdm_endian *ed, u8 dev_endian) ed->host_ed = ENDIANNESS_LITTLE; else ed->host_ed = ENDIANNESS_BIG; - } u16 gdm_cpu_to_dev16(struct gdm_endian *ed, u16 x) diff --git a/drivers/staging/gdm724x/gdm_mux.c b/drivers/staging/gdm724x/gdm_mux.c index 522f3cd..7584d7a 100644 --- a/drivers/staging/gdm724x/gdm_mux.c +++ b/drivers/staging/gdm724x/gdm_mux.c @@ -48,7 +48,6 @@ static const struct usb_device_id id_table[] = { {} }; - MODULE_DEVICE_TABLE(usb, id_table); static int packet_type_to_index(u16 packetType) @@ -150,7 +149,6 @@ static void put_rx_struct(struct rx_cxt *rx, struct mux_rx *r) spin_unlock_irqrestore(&rx->free_list_lock, flags); } - static int up_to_host(struct mux_rx *r) { struct mux_dev *mux_dev = (struct mux_dev *)r->mux_dev; @@ -477,7 +475,6 @@ static void release_usb(struct mux_dev *mux_dev) spin_unlock_irqrestore(&rx->to_host_lock, flags); } - static int init_usb(struct mux_dev *mux_dev) { struct mux_rx *r; @@ -615,7 +612,6 @@ static int gdm_mux_suspend(struct usb_interface *intf, pm_message_t pm_msg) mux_dev->usb_state = PM_SUSPEND; - spin_lock_irqsave(&rx->submit_list_lock, flags); list_for_each_entry_safe(r, r_next, &rx->rx_submit_list, rx_submit_list) { @@ -663,7 +659,6 @@ static struct usb_driver gdm_mux_driver = { static int __init gdm_usb_mux_init(void) { - mux_rx_wq = create_workqueue("mux_rx_wq"); if (!mux_rx_wq) { pr_err("work queue create fail\n"); diff --git a/drivers/staging/gdm724x/gdm_tty.c b/drivers/staging/gdm724x/gdm_tty.c index 3b9bf07..60b52a3 100644 --- a/drivers/staging/gdm724x/gdm_tty.c +++ b/drivers/staging/gdm724x/gdm_tty.c @@ -225,7 +225,6 @@ int register_lte_tty_device(struct tty_dev *tty_dev, struct device *device) int j; for (i = 0; i < TTY_MAX_COUNT; i++) { - gdm = kmalloc(sizeof(*gdm), GFP_KERNEL); if (!gdm) return -ENOMEM; diff --git a/drivers/staging/gdm724x/gdm_tty.h b/drivers/staging/gdm724x/gdm_tty.h index 297438b..195c590 100644 --- a/drivers/staging/gdm724x/gdm_tty.h +++ b/drivers/staging/gdm724x/gdm_tty.h @@ -17,7 +17,6 @@ #include <linux/types.h> #include <linux/tty.h> - #define TTY_MAX_COUNT 2 #define MAX_ISSUE_NUM 3 diff --git a/drivers/staging/gdm724x/hci_packet.h b/drivers/staging/gdm724x/hci_packet.h index 7fba8a6..46e0fc4 100644 --- a/drivers/staging/gdm724x/hci_packet.h +++ b/drivers/staging/gdm724x/hci_packet.h @@ -89,5 +89,4 @@ struct hci_connect_ind { u32 connect; } __packed; - #endif /* _HCI_PACKET_H_ */ -- 2.3.0 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel