Skip to content

Commit

Permalink
staging: line6: delete an unused function
Browse files Browse the repository at this point in the history
line6_send_sysex_message_async() isn't called from anywhere.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@gmail.com>
Reviewed-by: Johannes Thumshirn <morbidrsa@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent 77ecb6f commit e02b124
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
11 changes: 0 additions & 11 deletions drivers/staging/line6/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,17 +331,6 @@ int line6_send_sysex_message(struct usb_line6 *line6, const char *buffer,
SYSEX_EXTRA_SIZE;
}

/*
Send sysex message in pieces of wMaxPacketSize bytes.
*/
int line6_send_sysex_message_async(struct usb_line6 *line6, const char *buffer,
int size)
{
return line6_send_raw_message_async(line6, buffer,
size + SYSEX_EXTRA_SIZE) -
SYSEX_EXTRA_SIZE;
}

/*
Allocate buffer for sysex message and prepare header.
@param code sysex message code
Expand Down
2 changes: 0 additions & 2 deletions drivers/staging/line6/driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,6 @@ extern int line6_send_raw_message_async(struct usb_line6 *line6,
const char *buffer, int size);
extern int line6_send_sysex_message(struct usb_line6 *line6,
const char *buffer, int size);
extern int line6_send_sysex_message_async(struct usb_line6 *line6,
const char *buffer, int size);
extern ssize_t line6_set_raw(struct device *dev, struct device_attribute *attr,
const char *buf, size_t count);
extern void line6_start_timer(struct timer_list *timer, unsigned int msecs,
Expand Down

0 comments on commit e02b124

Please sign in to comment.