[PATCH] Staging:tidspbridge Fix minor checkpatch.pl warining Unnecessary parentheses

Adithya Krishnamurthy linux.challenge1 at gmail.com
Tue Jul 15 16:48:20 UTC 2014


From: Adithya Krishnamurthy <linux.challenge1 at gmail.com>

Fixed checkpatch "WARNING: Unnecessary parentheses"

Signed-off-by: Adithya Krishnamurthy <linux.challenge1 at 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



More information about the devel mailing list