Message ID | 1442395804-17736-2-git-send-email-javier@osg.samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 16 September 2015 at 11:30, Javier Martinez Canillas <javier@osg.samsung.com> wrote: > They aren't needed and are just creating null statements so remove it. > > Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Thanks, applied for next! Kind regards Uffe > > --- > > 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-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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)
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(-)