diff options
author | Chuong Ngo <cngo.github@gmail.com> | 2013-10-23 15:11:20 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-29 08:51:07 -0700 |
commit | 0cd2da41a35ae990233eaeadea3da90d1481be43 (patch) | |
tree | 66cfd4f11ef43e292c989669371f824b82b01a6d | |
parent | d5a499671ba008915e886e95af6c498f168f42d4 (diff) |
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>
-rw-r--r-- | drivers/staging/bcm/Bcmchar.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c index 9d57d0478aa5..8c811439faba 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; |