From: Dan Carpenter Date: Wed, 5 Dec 2012 18:43:16 +0000 (+0300) Subject: staging: line6: delete an unused function X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e02b124629dc3d9928dd1af76864d1104ea8e810;p=linux-beck.git staging: line6: delete an unused function line6_send_sysex_message_async() isn't called from anywhere. Signed-off-by: Dan Carpenter Reviewed-by: Stefan Hajnoczi Reviewed-by: Johannes Thumshirn Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/line6/driver.c b/drivers/staging/line6/driver.c index 71c2a572b5cc..ecb461e3580d 100644 --- a/drivers/staging/line6/driver.c +++ b/drivers/staging/line6/driver.c @@ -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 diff --git a/drivers/staging/line6/driver.h b/drivers/staging/line6/driver.h index f0be5a2adaba..1dd768c26990 100644 --- a/drivers/staging/line6/driver.h +++ b/drivers/staging/line6/driver.h @@ -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,