aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/line6/pcm.h
diff options
context:
space:
mode:
authorMarkus Grabner <grabner@icg.tugraz.at>2012-01-20 00:09:07 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-09 09:14:35 -0800
commit3784129a9de3fc33ffe6c6ece906a9caa1c65fab (patch)
tree41bbf0c9447a26b3be2bb776ae6a669cad8ce01d /drivers/staging/line6/pcm.h
parent2da57c8e4ac0933417f9fdd141bf5bebc87edc1e (diff)
staging: line6: removed obsolete code
Signed-off-by: Markus Grabner <grabner@icg.tugraz.at> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/line6/pcm.h')
-rw-r--r--drivers/staging/line6/pcm.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/line6/pcm.h b/drivers/staging/line6/pcm.h
index 55d8297dd3d..47c6d6942b4 100644
--- a/drivers/staging/line6/pcm.h
+++ b/drivers/staging/line6/pcm.h
@@ -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