Browse Source

staging: bcm2835-audio: Remove static initialisation

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>
Simon Sandström 8 years ago
parent
commit
69c429864e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/staging/bcm2835-audio/bcm2835.c

+ 2 - 2
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)
 {