From: Markus Grabner Date: Thu, 19 Jan 2012 23:09:07 +0000 (+0100) Subject: staging: line6: removed obsolete code X-Git-Tag: MMI-PSA29.97-13-9~17268^2~176^2~102 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3784129a9de3fc33ffe6c6ece906a9caa1c65fab;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging: line6: removed obsolete code Signed-off-by: Markus Grabner Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/line6/pcm.h b/drivers/staging/line6/pcm.h index 55d8297dd3d9..47c6d6942b4f 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