From: Havard Skinnemoen Date: Sat, 10 Dec 2011 00:51:54 +0000 (-0800) Subject: usb: cdc-acm: Kill ACM_READY() macro completely X-Git-Tag: v3.3-rc1~153^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99823f457d5994b3bd3775515578c8bfacc64b04;p=pandora-kernel.git usb: cdc-acm: Kill ACM_READY() macro completely The ACM_READY() macro doesn't seem to do anything useful, and it may prevent tty_wait_until_sent() from working properly when called from close. Previously, acm_tty_chars_in_buffer() returned 0 whenever acm->port.count was 0. This means close() could return before all the data has actually been written. Signed-off-by: Havard Skinnemoen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed