diff options
author | Simon Sandström <simon@nikanor.nu> | 2017-02-07 12:00:56 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-09 13:14:30 +0100 |
commit | 69c429864e693d2aaaea4adf2e6cfd0d30103781 (patch) | |
tree | 9b5e47cd842a9449282a159e54329b0e790f3495 | |
parent | d3ea53c7a45ce45fb65e220a1d65209d5e3e3f6a (diff) |
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>
-rw-r--r-- | drivers/staging/bcm2835-audio/bcm2835.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |