Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1225891

[PATCH 2/2] mmc: vub300: Remove unneded semicolons

From Javier Martinez Canillas <javier@osg.samsung.com>
Newsgroups linux.kernel
Subject [PATCH 2/2] mmc: vub300: Remove unneded semicolons
Date 2015-09-16 11:40 +0200
Message-ID <q9hm3-uy-15@gated-at.bofh.it> (permalink)
References <q9hm3-uy-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


They aren't needed and are just creating null statements so remove it.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

---

 drivers/mmc/host/vub300.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/mmc/host/vub300.c b/drivers/mmc/host/vub300.c
index fbabbb82b354..1e819f98b94f 100644
--- a/drivers/mmc/host/vub300.c
+++ b/drivers/mmc/host/vub300.c
@@ -563,7 +563,7 @@ static void add_offloaded_reg(struct vub300_mmc_host *vub300,
 			i += 1;
 			continue;
 		}
-	};
+	}
 	__add_offloaded_reg_to_fifo(vub300, register_access, func);
 }
 
@@ -1372,7 +1372,7 @@ static void download_offload_pseudocode(struct vub300_mmc_host *vub300)
 		l += snprintf(vub300->vub_name + l,
 			      sizeof(vub300->vub_name) - l, "_%04X%04X",
 			      sf->vendor, sf->device);
-	};
+	}
 	snprintf(vub300->vub_name + l, sizeof(vub300->vub_name) - l, ".bin");
 	dev_info(&vub300->udev->dev, "requesting offload firmware %s\n",
 		 vub300->vub_name);
@@ -1893,7 +1893,7 @@ static int satisfy_request_from_offloaded_data(struct vub300_mmc_host *vub300,
 			i += 1;
 			continue;
 		}
-	};
+	}
 	if (vub300->total_offload_count == 0)
 		return 0;
 	else if (vub300->fn[func].offload_count == 0)
-- 
2.4.3

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] mmc: wbsd: Remove unneded semicolon Javier Martinez Canillas <javier@osg.samsung.com> - 2015-09-16 11:40 +0200
  [PATCH 2/2] mmc: vub300: Remove unneded semicolons Javier Martinez Canillas <javier@osg.samsung.com> - 2015-09-16 11:40 +0200
    Re: [PATCH 2/2] mmc: vub300: Remove unneded semicolons Ulf Hansson <ulf.hansson@linaro.org> - 2015-09-17 10:50 +0200
  Re: [PATCH 1/2] mmc: wbsd: Remove unneded semicolon Ulf Hansson <ulf.hansson@linaro.org> - 2015-09-17 11:00 +0200

csiph-web