From: Simon Sandström Date: Tue, 7 Feb 2017 11:00:56 +0000 (+0100) Subject: staging: bcm2835-audio: Remove static initialisation X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=69c429864e693d2aaaea4adf2e6cfd0d30103781;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: bcm2835-audio: Remove static initialisation Static pointers are explicility initialised to NULL. Signed-off-by: Simon Sandström Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/bcm2835-audio/bcm2835.c b/drivers/staging/bcm2835-audio/bcm2835.c index a84d74daccbc..265fe5565f42 100644 --- a/drivers/staging/bcm2835-audio/bcm2835.c +++ b/drivers/staging/bcm2835-audio/bcm2835.c @@ -28,8 +28,8 @@ * to debug if we run into issues */ -static struct snd_card *g_card = NULL; -static struct bcm2835_chip *g_chip = NULL; +static struct snd_card *g_card; +static struct bcm2835_chip *g_chip; static int snd_bcm2835_free(struct bcm2835_chip *chip) {