From de89dbf751c87ee3c373d736c316fee59dd64933 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:52 +0200 Subject: [PATCH] staging: bcm2835-audio: Remove unnecessary header file includes Yet a few header files are included unnecessarily. Drop them. Also remove trivial comments. Signed-off-by: Takashi Iwai Tested-by: Stefan Wahren Signed-off-by: Greg Kroah-Hartman --- .../bcm2835-audio/bcm2835-vchiq.c | 19 ------------------- .../vc04_services/bcm2835-audio/bcm2835.h | 6 ------ 2 files changed, 25 deletions(-) diff --git a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c index 7fff5c63e33f..1d756f467eb8 100644 --- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c +++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c @@ -1,31 +1,12 @@ // SPDX-License-Identifier: GPL-2.0 /* Copyright 2011 Broadcom Corporation. All rights reserved. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include -#include -#include #include #include - #include "bcm2835.h" - -/* ---- Include Files -------------------------------------------------------- */ - #include "vc_vchi_audioserv_defs.h" -/* ---- Private Constants and Types ------------------------------------------ */ - struct bcm2835_audio_instance { struct device *dev; VCHI_SERVICE_HANDLE_T vchi_handle; diff --git a/drivers/staging/vc04_services/bcm2835-audio/bcm2835.h b/drivers/staging/vc04_services/bcm2835-audio/bcm2835.h index 319c3e5dfbe4..4e41069dc22a 100644 --- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835.h +++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835.h @@ -5,16 +5,10 @@ #define __SOUND_ARM_BCM2835_H #include -#include -#include #include #include -#include #include -#include #include -#include - #include "interface/vchi/vchi.h" #define MAX_SUBSTREAMS (8) -- 2.30.2