diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-05-26 11:55:24 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-05-26 11:55:24 -0300 |
commit | 3a06e7be6db2c2b35e97a92b23c9191888a07042 (patch) | |
tree | 528aeb42700f9199d79e1b20dba205d74933b355 /linux/drivers/media/video/cx18/cx18-driver.c | |
parent | 6c704b27377af4d7802223b3e7a7ec4f154fb158 (diff) | |
parent | ff1932a9bc2b54a130d135a19cc82e5c61130db0 (diff) | |
download | mediapointer-dvb-s2-3a06e7be6db2c2b35e97a92b23c9191888a07042.tar.gz mediapointer-dvb-s2-3a06e7be6db2c2b35e97a92b23c9191888a07042.tar.bz2 |
merge: http://linuxtv.org/hg/~mkrufky/cleanups
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-driver.c')
-rw-r--r-- | linux/drivers/media/video/cx18/cx18-driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-driver.c b/linux/drivers/media/video/cx18/cx18-driver.c index 008745af2..0dd4e0529 100644 --- a/linux/drivers/media/video/cx18/cx18-driver.c +++ b/linux/drivers/media/video/cx18/cx18-driver.c @@ -607,7 +607,7 @@ static int __devinit cx18_probe(struct pci_dev *dev, } cx = kzalloc(sizeof(struct cx18), GFP_ATOMIC); - if (cx == 0) { + if (!cx) { spin_unlock(&cx18_cards_lock); return -ENOMEM; } |