]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
staging: bcm2835-audio: Remove static initialisation
authorSimon Sandström <simon@nikanor.nu>
Tue, 7 Feb 2017 11:00:56 +0000 (12:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2017 12:14:30 +0000 (13:14 +0100)
Static pointers are explicility initialised to NULL.

Signed-off-by: Simon Sandström <simon@nikanor.nu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm2835-audio/bcm2835.c

index a84d74daccbc1aba93e1bb07312d26b9704f9502..265fe5565f424bab5f464c9c3740bdaaa949a3b4 100644 (file)
@@ -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)
 {