2013-07-03 20:52:21

by Nathaniel Yazdani

[permalink] [raw]
Subject: [PATCH] jbd: remove unneeded semicolon

This patch removes an unnecessary semicolon that was placed after the closing
bracket of an inline JBD wrapper function.

Signed-off-by: Nathaniel Yazdani <[email protected]>
---
diff --git a/include/linux/jbd.h b/include/linux/jbd.h
index 7e0b622..9d789a9 100644
--- a/include/linux/jbd.h
+++ b/include/linux/jbd.h
@@ -78,7 +78,7 @@ static inline void *jbd_alloc(size_t size, gfp_t flags)
static inline void jbd_free(void *ptr, size_t size)
{
free_pages((unsigned long)ptr, get_order(size));
-};
+}

#define JFS_MIN_JOURNAL_BLOCKS 1024



2013-07-03 22:59:10

by Jan Kara

[permalink] [raw]
Subject: Re: [PATCH] jbd: remove unneeded semicolon

On Wed 03-07-13 13:52:21, Nathaniel Yazdani wrote:
> This patch removes an unnecessary semicolon that was placed after the closing
> bracket of an inline JBD wrapper function.
Thanks. Added to my tree.

Honza
>
> Signed-off-by: Nathaniel Yazdani <[email protected]>
> ---
> diff --git a/include/linux/jbd.h b/include/linux/jbd.h
> index 7e0b622..9d789a9 100644
> --- a/include/linux/jbd.h
> +++ b/include/linux/jbd.h
> @@ -78,7 +78,7 @@ static inline void *jbd_alloc(size_t size, gfp_t flags)
> static inline void jbd_free(void *ptr, size_t size)
> {
> free_pages((unsigned long)ptr, get_order(size));
> -};
> +}
>
> #define JFS_MIN_JOURNAL_BLOCKS 1024
>
>
>
>
>
>
--
Jan Kara <[email protected]>
SUSE Labs, CR