Commit d692b939 authored by Duncan Sands's avatar Duncan Sands Committed by Oleg Drokin

[PATCH] USB speedtouch: cosmetic comment changes

parent 647bcb6e
...@@ -690,15 +690,9 @@ static int udsl_atm_send (struct atm_vcc *vcc, struct sk_buff *skb) ...@@ -690,15 +690,9 @@ static int udsl_atm_send (struct atm_vcc *vcc, struct sk_buff *skb)
} }
/************ /**********
** ATM ** ** ATM **
************/ **********/
/***************************************************************************
*
* init functions
*
****************************************************************************/
static void udsl_atm_dev_close (struct atm_dev *dev) static void udsl_atm_dev_close (struct atm_dev *dev)
{ {
...@@ -718,13 +712,6 @@ static void udsl_atm_dev_close (struct atm_dev *dev) ...@@ -718,13 +712,6 @@ static void udsl_atm_dev_close (struct atm_dev *dev)
dev->dev_data = NULL; dev->dev_data = NULL;
} }
/***************************************************************************
*
* ATM helper functions
*
****************************************************************************/
static int udsl_atm_proc_read (struct atm_dev *atm_dev, loff_t *pos, char *page) static int udsl_atm_proc_read (struct atm_dev *atm_dev, loff_t *pos, char *page)
{ {
struct udsl_instance_data *instance = atm_dev->dev_data; struct udsl_instance_data *instance = atm_dev->dev_data;
...@@ -778,13 +765,6 @@ static int udsl_atm_proc_read (struct atm_dev *atm_dev, loff_t *pos, char *page) ...@@ -778,13 +765,6 @@ static int udsl_atm_proc_read (struct atm_dev *atm_dev, loff_t *pos, char *page)
return 0; return 0;
} }
/***************************************************************************
*
* SAR driver entries
*
****************************************************************************/
static int udsl_atm_open (struct atm_vcc *vcc, short vpi, int vci) static int udsl_atm_open (struct atm_vcc *vcc, short vpi, int vci)
{ {
struct udsl_instance_data *instance = vcc->dev->dev_data; struct udsl_instance_data *instance = vcc->dev->dev_data;
...@@ -866,9 +846,9 @@ static int udsl_atm_ioctl (struct atm_dev *dev, unsigned int cmd, void *arg) ...@@ -866,9 +846,9 @@ static int udsl_atm_ioctl (struct atm_dev *dev, unsigned int cmd, void *arg)
} }
/************ /**********
** USB ** ** USB **
************/ **********/
static int udsl_usb_ioctl (struct usb_interface *intf, unsigned int code, void *user_data) static int udsl_usb_ioctl (struct usb_interface *intf, unsigned int code, void *user_data)
{ {
...@@ -1180,11 +1160,9 @@ static void udsl_usb_disconnect (struct usb_interface *intf) ...@@ -1180,11 +1160,9 @@ static void udsl_usb_disconnect (struct usb_interface *intf)
} }
/*************************************************************************** /***********
* ** init **
* Driver Init ***********/
*
****************************************************************************/
static int __init udsl_usb_init (void) static int __init udsl_usb_init (void)
{ {
...@@ -1215,13 +1193,11 @@ MODULE_DESCRIPTION (DRIVER_DESC); ...@@ -1215,13 +1193,11 @@ MODULE_DESCRIPTION (DRIVER_DESC);
MODULE_LICENSE ("GPL"); MODULE_LICENSE ("GPL");
#ifdef DEBUG_PACKET /************
/******************************************************************************* ** debug **
* ************/
* Debug
*
*******************************************************************************/
#ifdef DEBUG_PACKET
static int udsl_print_packet (const unsigned char *data, int len) static int udsl_print_packet (const unsigned char *data, int len)
{ {
unsigned char buffer [256]; unsigned char buffer [256];
...@@ -1237,5 +1213,4 @@ static int udsl_print_packet (const unsigned char *data, int len) ...@@ -1237,5 +1213,4 @@ static int udsl_print_packet (const unsigned char *data, int len)
} }
return i; return i;
} }
#endif
#endif /* PACKETDEBUG */
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