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

From: Adithya Krishnamurthy
Date: Tue Jul 15 2014 - 12:48:53 EST


From: Adithya Krishnamurthy <linux.challenge1@xxxxxxxxx>

Fixed checkpatch "WARNING: Unnecessary parentheses"

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/