mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Do not initialise statics to NULL
@ 2017-02-09 21:57 William Stevenson
  2017-02-10 15:04 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: William Stevenson @ 2017-02-09 21:57 UTC (permalink / raw)
  To: Michael Zoran
  Cc: William Stevenson, Greg Kroah-Hartman, Florian Fainelli, Ray Jui,
	Scott Branden, Stephen Warren, Lee Jones, Eric Anholt, devel,
	linux-rpi-kernel, linux-arm-kernel, linux-kernel,
	bcm-kernel-feedback-list

This patch fixes a checkpatch.pl error in bcm2835.c

ERROR: do not initialise statics to NULL

Signed-off-by: William Stevenson <yhvh2000@gmail.com>
---
 drivers/staging/bcm2835-audio/bcm2835.c | 4 ++--
 1 file 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)
 {
-- 
2.11.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-02-10 16:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-09 21:57 [PATCH] Do not initialise statics to NULL William Stevenson
2017-02-10 15:04 ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®