]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
staging: line6: removed obsolete code
authorMarkus Grabner <grabner@icg.tugraz.at>
Thu, 19 Jan 2012 23:09:07 +0000 (00:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 17:14:35 +0000 (09:14 -0800)
Signed-off-by: Markus Grabner <grabner@icg.tugraz.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/line6/pcm.h

index 55d8297dd3d9c5ff70572feb72e85e9a44b420d7..47c6d6942b4f9911a1022cd191a2c043a326f875 100644 (file)
@@ -305,13 +305,4 @@ extern void line6_pcm_disconnect(struct snd_line6_pcm *line6pcm);
 extern int line6_pcm_start(struct snd_line6_pcm *line6pcm, int channels);
 extern int line6_pcm_stop(struct snd_line6_pcm *line6pcm, int channels);
 
-#define PRINT_FRAME_DIFF(op) {                                         \
-       static int diff_prev = 1000;                                    \
-       int diff = line6pcm->last_frame_out - line6pcm->last_frame_in;  \
-       if ((diff != diff_prev) && (abs(diff) < 100)) {                 \
-               printk(KERN_INFO "%s frame diff = %d\n", op, diff);     \
-               diff_prev = diff;                                       \
-       }                                                               \
-}
-
 #endif