Sfoglia il codice sorgente

drivers: staging: bcm: Removed a developer debug statement.

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>
Chuong Ngo 12 anni fa
parent
commit
0cd2da41a3
1 ha cambiato i file con 1 aggiunte e 4 eliminazioni
  1. 1 4
      drivers/staging/bcm/Bcmchar.c

+ 1 - 4
drivers/staging/bcm/Bcmchar.c

@@ -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;