From patchwork Sun Feb 1 07:01:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Rorvick X-Patchwork-Id: 5756121 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D98229F302 for ; Sun, 1 Feb 2015 07:02:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1FCE620138 for ; Sun, 1 Feb 2015 07:02:31 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id EF7D22011B for ; Sun, 1 Feb 2015 07:02:29 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 135C02605F9; Sun, 1 Feb 2015 08:02:29 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 68B1226055E; Sun, 1 Feb 2015 08:01:35 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 5A2E226058A; Sun, 1 Feb 2015 08:01:33 +0100 (CET) Received: from mail-ie0-f172.google.com (mail-ie0-f172.google.com [209.85.223.172]) by alsa0.perex.cz (Postfix) with ESMTP id D927526055E for ; Sun, 1 Feb 2015 08:01:25 +0100 (CET) Received: by mail-ie0-f172.google.com with SMTP id at20so11695504iec.3 for ; Sat, 31 Jan 2015 23:01:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=OWWSf5AVgr3FNlIW7IecS7psq3Mt+5WzE0xd5MbFFcI=; b=a44aA4pQAk21Ez+d0J3GTG8U22vu1eHSiEdaDHNwxrvcc06Gc7jkLW7s7z/Te/ut56 jfdr7aOPwuo+1hIZywU/4Sn4Gz34S0TvVpgwA4QHF+Ae+wUhQsJt8GmIvLUgguSlTb2K uc86pIYOvDUcNUPsa+V9a+ZOEFoP8/rsziS6zNugNxWC/jGamaSY18SUorbu7uRmAeO/ eCFjUycWZmOmmM4pGhCFyq/YvG5bbxqG4Mqs4S6ThqpN0+IAhOERWHp4iuD+PdrdJUkY LjEcFS9na+pgoisXpA+eNNnLXTWfi6bThvqbrKFrngrJLxlsb7JfHZS2qSUDXkqlKM98 MSWQ== X-Received: by 10.42.64.193 with SMTP id h1mr14067940ici.32.1422774085017; Sat, 31 Jan 2015 23:01:25 -0800 (PST) Received: from localhost.localdomain.com (adsl-99-142-29-188.dsl.emhril.sbcglobal.net. [99.142.29.188]) by mx.google.com with ESMTPSA id kz4sm4061547igb.17.2015.01.31.23.01.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 31 Jan 2015 23:01:24 -0800 (PST) From: Chris Rorvick To: Takashi Iwai Date: Sun, 1 Feb 2015 01:01:09 -0600 Message-Id: <1422774069-17328-3-git-send-email-chris@rorvick.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1422774069-17328-1-git-send-email-chris@rorvick.com> References: <1422774069-17328-1-git-send-email-chris@rorvick.com> Cc: Stefan Hajnoczi , alsa-devel@alsa-project.org, Chris Rorvick , linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH 2/2] ALSA: line6: Remove unused line6_midibuf_skip_message() X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Use of this function ended with commits 3e58c868db1d ("staging: line6: drop midi_mask_receive") and af89d2897a71 ("staging: line6: drop midi_mask_transmit".) Signed-off-by: Chris Rorvick --- sound/usb/line6/midibuf.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/sound/usb/line6/midibuf.c b/sound/usb/line6/midibuf.c index 3b8b59b..36a610b 100644 --- a/sound/usb/line6/midibuf.c +++ b/sound/usb/line6/midibuf.c @@ -245,17 +245,6 @@ int line6_midibuf_ignore(struct midi_buffer *this, int length) return length; } -int line6_midibuf_skip_message(struct midi_buffer *this, unsigned short mask) -{ - int cmd = this->command_prev; - - if ((cmd >= 0x80) && (cmd < 0xf0)) - if ((mask & (1 << (cmd & 0x0f))) == 0) - return 1; - - return 0; -} - void line6_midibuf_destroy(struct midi_buffer *this) { kfree(this->buf);