From patchwork Wed Aug 1 16:11:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Takashi Iwai X-Patchwork-Id: 10552597 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4E36A157D for ; Wed, 1 Aug 2018 16:12:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3D19B2B831 for ; Wed, 1 Aug 2018 16:12:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 30F692B84F; Wed, 1 Aug 2018 16:12:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BCC6C2B831 for ; Wed, 1 Aug 2018 16:12:11 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 290462677C5; Wed, 1 Aug 2018 18:12:10 +0200 (CEST) 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 B9AB62677E2; Wed, 1 Aug 2018 18:12:07 +0200 (CEST) Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 980D52677AA for ; Wed, 1 Aug 2018 18:12:02 +0200 (CEST) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 01868AA71 for ; Wed, 1 Aug 2018 16:12:02 +0000 (UTC) From: Takashi Iwai To: alsa-devel@alsa-project.org Date: Wed, 1 Aug 2018 18:11:55 +0200 Message-Id: <20180801161200.3930-1-tiwai@suse.de> X-Mailer: git-send-email 2.18.0 Subject: [alsa-devel] [PATCH 0/5] ALSA: seq: Some minor cleanups 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 Hi, while debugging the recent virmidi bug, I've found a few ugly appearance in the sequencer code, so spent a bit time for cleaning it up. Most of changes are cosmetic, non-functional changes. Takashi === Takashi Iwai (5): ALSA: seq: Minor cleanup of MIDI event parser helpers ALSA: seq: Remove dead codes ALSA: seq: Fix leftovers at probe error path ALSA: seq: Use no intrruptible mutex_lock ALSA: seq: Drop unused 64bit division macros include/sound/seq_midi_event.h | 6 +-- sound/core/seq/oss/seq_oss_midi.c | 2 +- sound/core/seq/seq.c | 33 ++++++------ sound/core/seq/seq_clientmgr.c | 28 +++------- sound/core/seq/seq_info.c | 10 +--- sound/core/seq/seq_info.h | 6 +-- sound/core/seq/seq_memory.c | 12 ----- sound/core/seq/seq_memory.h | 6 --- sound/core/seq/seq_midi.c | 24 ++++----- sound/core/seq/seq_midi_emul.c | 12 ----- sound/core/seq/seq_midi_event.c | 87 +++---------------------------- sound/core/seq/seq_queue.c | 12 +---- sound/core/seq/seq_queue.h | 27 ---------- sound/core/seq/seq_virmidi.c | 37 +------------ 14 files changed, 52 insertions(+), 250 deletions(-)