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 55d8297..47c6d69 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