From patchwork Fri Feb 3 18:50:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hendrik v. Raven" X-Patchwork-Id: 9554965 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DD477604A7 for ; Fri, 3 Feb 2017 18:51:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D13A427F94 for ; Fri, 3 Feb 2017 18:51:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C5FCD27FBB; Fri, 3 Feb 2017 18:51:22 +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=-1.9 required=2.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 65B1927F94 for ; Fri, 3 Feb 2017 18:51:22 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cZix8-0004u0-1L; Fri, 03 Feb 2017 18:51:22 +0000 Received: from cybele.consetetur.de ([176.9.23.218]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cZix4-0004VZ-JM; Fri, 03 Feb 2017 18:51:20 +0000 Received: from psyche.consetetur.de (aftr-88-217-180-117.dynamic.mnet-online.de [88.217.180.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: hendrik@consetetur.de) by cybele.consetetur.de (Postfix) with ESMTPSA id 0BBFE80460EE; Fri, 3 Feb 2017 19:50:16 +0100 (CET) Received: by psyche.consetetur.de (Postfix, from userid 1000) id 4FCD51A224335; Fri, 3 Feb 2017 19:50:16 +0100 (CET) From: "Hendrik v. Raven" To: Joe Perches , Greg Kroah-Hartman , Stephen Warren , Lee Jones , Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Michael Zoran , devel@driverdev.osuosl.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: bcm2835-audio: remove unused macro Date: Fri, 3 Feb 2017 19:50:09 +0100 Message-Id: <20170203185009.5909-1-hendrik@consetetur.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <1486142858.22276.63.camel@perches.com> References: <1486142858.22276.63.camel@perches.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170203_105118_849027_74D076CA X-CRM114-Status: UNSURE ( 7.29 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Hendrik v. Raven" MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The VC_AUDIO_MAX_MSG_LEN macro is not used anywhere and has coding style violations. Signed-off-by: Hendrik v. Raven --- drivers/staging/bcm2835-audio/vc_vchi_audioserv_defs.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/bcm2835-audio/vc_vchi_audioserv_defs.h b/drivers/staging/bcm2835-audio/vc_vchi_audioserv_defs.h index 09f07fd891bb..da96f1bc2516 100644 --- a/drivers/staging/bcm2835-audio/vc_vchi_audioserv_defs.h +++ b/drivers/staging/bcm2835-audio/vc_vchi_audioserv_defs.h @@ -21,9 +21,6 @@ /* FourCC code used for VCHI connection */ #define VC_AUDIO_SERVER_NAME MAKE_FOURCC("AUDS") -/* Maximum message length */ -#define VC_AUDIO_MAX_MSG_LEN (sizeof( VC_AUDIO_MSG_T )) - /* * List of screens that are currently supported * All message types supported for HOST->VC direction