From: Chuong Ngo Date: Wed, 23 Oct 2013 19:11:20 +0000 (-0400) Subject: drivers: staging: bcm: Removed a developer debug statement. X-Git-Tag: v3.13-rc1~170^2~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0cd2da41a35ae990233eaeadea3da90d1481be43;p=kernel%2Fkernel-generic.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c index 9d57d04..8c81143 100644 --- a/drivers/staging/bcm/Bcmchar.c +++ b/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;