lkml.org 
[lkml]   [2014]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Staging:tidspbridge Fix minor checkpatch.pl warining Unnecessary parentheses
Date
From: Adithya Krishnamurthy <linux.challenge1@gmail.com>

Fixed checkpatch "WARNING: Unnecessary parentheses"

Signed-off-by: Adithya Krishnamurthy <linux.challenge1@gmail.com>
---
drivers/staging/tidspbridge/dynload/cload.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/tidspbridge/dynload/cload.c b/drivers/staging/tidspbridge/dynload/cload.c
index 83f2106..b306349 100644
--- a/drivers/staging/tidspbridge/dynload/cload.c
+++ b/drivers/staging/tidspbridge/dynload/cload.c
@@ -376,7 +376,7 @@ void dload_headers(struct dload_state *dlthis)
return;
}
/* Check for valid file format */
- if ((dlthis->dfile_hdr.df_doff_version != DOFF0)) {
+ if (dlthis->dfile_hdr.df_doff_version != DOFF0) {
dload_error(dlthis, "Bad DOFF version 0x%x",
dlthis->dfile_hdr.df_doff_version);
return;
--
1.7.9.5


\
 
 \ /
  Last update: 2014-07-15 19:21    [W:0.035 / U:1.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site