浏览代码

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 年之前
父节点
当前提交
69c429864e
共有 1 个文件被更改,包括 2 次插入2 次删除
  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
  * 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)
 static int snd_bcm2835_free(struct bcm2835_chip *chip)
 {
 {