diff mbox

staging: bcm2835-audio: remove unused macro

Message ID 20170203185009.5909-1-hendrik@consetetur.de (mailing list archive)
State New, archived
Headers show

Commit Message

Hendrik v. Raven Feb. 3, 2017, 6:50 p.m. UTC
The VC_AUDIO_MAX_MSG_LEN macro is not used anywhere and has coding style
violations.

Signed-off-by: Hendrik v. Raven <hendrik@consetetur.de>
---
 drivers/staging/bcm2835-audio/vc_vchi_audioserv_defs.h | 3 ---
 1 file changed, 3 deletions(-)

Comments

Greg Kroah-Hartman Feb. 5, 2017, 10:41 a.m. UTC | #1
On Fri, Feb 03, 2017 at 07:50:09PM +0100, Hendrik v. Raven wrote:
> The VC_AUDIO_MAX_MSG_LEN macro is not used anywhere and has coding style
> violations.
> 
> Signed-off-by: Hendrik v. Raven <hendrik@consetetur.de>

Does not apply to my tree :(
diff mbox

Patch

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