Patchwork [56/62] fs/cifs/cifs_dfs_ref.c: Remove unnecessary semicolons

login
register
mail settings
Submitter Joe Perches
Date June 28, 2009, 4:27 p.m.
Message ID <33feb04c647d39629feb6252488214b05e297f44.1246173683.git.joe@perches.com>
Download mbox | patch
Permalink /patch/29248/
State New
Delegated to: Steve French
Headers show

Comments

Joe Perches - June 28, 2009, 4:27 p.m.
Signed-off-by: Joe Perches <joe@perches.com>
---
 fs/cifs/cifs_dfs_ref.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Steve French - June 28, 2009, 4:45 p.m.
This fix is fine of course.

Do you prefer that I merge this via the cifs-2.6 tree or as part of
your large patch series?

On Sun, Jun 28, 2009 at 11:27 AM, Joe Perches<joe@perches.com> wrote:
> Signed-off-by: Joe Perches <joe@perches.com>
> ---
>  fs/cifs/cifs_dfs_ref.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/fs/cifs/cifs_dfs_ref.c b/fs/cifs/cifs_dfs_ref.c
> index 3bb11be..3f2c2a3 100644
> --- a/fs/cifs/cifs_dfs_ref.c
> +++ b/fs/cifs/cifs_dfs_ref.c
> @@ -136,7 +136,7 @@ char *cifs_compose_mount_options(const char *sb_mountdata,
>        rc = dns_resolve_server_name_to_ip(*devname, &srvIP);
>        if (rc != 0) {
>                cERROR(1, ("%s: Failed to resolve server part of %s to IP: %d",
> -                         __func__, *devname, rc));;
> +                         __func__, *devname, rc));
>                goto compose_mount_options_err;
>        }
>        /* md_len = strlen(...) + 12 for 'sep+prefixpath='
> --
> 1.6.3.1.10.g659a0.dirty
>
>
Joe Perches - June 28, 2009, 4:51 p.m.
On Sun, 2009-06-28 at 11:45 -0500, Steve French wrote:
> This fix is fine of course.
> 
> Do you prefer that I merge this via the cifs-2.6 tree or as part of
> your large patch series?

I don't have a preference for how it gets merged.
Perhaps others do.

Patch

diff --git a/fs/cifs/cifs_dfs_ref.c b/fs/cifs/cifs_dfs_ref.c
index 3bb11be..3f2c2a3 100644
--- a/fs/cifs/cifs_dfs_ref.c
+++ b/fs/cifs/cifs_dfs_ref.c
@@ -136,7 +136,7 @@  char *cifs_compose_mount_options(const char *sb_mountdata,
 	rc = dns_resolve_server_name_to_ip(*devname, &srvIP);
 	if (rc != 0) {
 		cERROR(1, ("%s: Failed to resolve server part of %s to IP: %d",
-			  __func__, *devname, rc));;
+			  __func__, *devname, rc));
 		goto compose_mount_options_err;
 	}
 	/* md_len = strlen(...) + 12 for 'sep+prefixpath='