From: Simon Sandström Date: Tue, 7 Feb 2017 11:00:56 +0000 (+0100) Subject: staging: bcm2835-audio: Remove static initialisation X-Git-Tag: v4.11-rc1~116^2~131 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=69c429864e693d2aaaea4adf2e6cfd0d30103781;p=platform%2Fkernel%2Flinux-exynos.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 a84d74d..265fe55 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) {