[ofa-general] [PATCH][TRIVIAL] libibmad: Remove extraneous semicolon

Dotan Barak dotanb at dev.mellanox.co.il
Tue Mar 25 02:41:56 PDT 2008


Remove extraneous semicolon.

Signed-off-by: Dotan Barak <dotanb at dev.mellanox.co.il>

---

diff --git a/libibmad/src/fields.c b/libibmad/src/fields.c
index 9118729..21f98cf 100644
--- a/libibmad/src/fields.c
+++ b/libibmad/src/fields.c
@@ -439,7 +439,7 @@ _get_field(void *buf, int base_offs, ib_field_t *f)
 void
 _set_array(void *buf, int base_offs, ib_field_t *f, void *val)
 {
-	int bitoffs = f->bitoffs;;
+	int bitoffs = f->bitoffs;
 
 	if (f->bitlen < 32)
 		bitoffs = BE_TO_BITSOFFS(bitoffs, f->bitlen);
@@ -450,7 +450,7 @@ _set_array(void *buf, int base_offs, ib_field_t *f, void *val)
 void
 _get_array(void *buf, int base_offs, ib_field_t *f, void *val)
 {
-	int bitoffs = f->bitoffs;;
+	int bitoffs = f->bitoffs;
 
 	if (f->bitlen < 32)
 		bitoffs = BE_TO_BITSOFFS(bitoffs, f->bitlen);



More information about the general mailing list