drivers: staging: bcm: Removed a developer debug statement.
authorChuong Ngo <cngo.github@gmail.com>
Wed, 23 Oct 2013 19:11:20 +0000 (15:11 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Oct 2013 15:51:07 +0000 (08:51 -0700)
Removed a developer debug statement per the TODO list.  Additionally,
removed braces for the if-statement to match coding style.

Signed-off-by: Chuong Ngo <cngo.github@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/Bcmchar.c

index 9d57d0478aa5ff22b71bd51727fdfd8e6d709cdf..8c811439faba85ee21ed9249a0b23af3c486fa75 100644 (file)
@@ -49,11 +49,8 @@ static int bcm_char_release(struct inode *inode, struct file *filp)
 
        pTarang = (struct bcm_tarang_data *)filp->private_data;
 
-       if (pTarang == NULL) {
-               BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0,
-                               "ptarang is null\n");
+       if (pTarang == NULL)
                return 0;
-       }
 
        Adapter = pTarang->Adapter;