public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] drivers/block/elevator.c: make two functions static
  2004-11-25 10:12 ` Christoph Hellwig
@ 2004-11-29 12:26   ` Adrian Bunk
  2004-11-29 19:36     ` Jens Axboe
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2004-11-29 12:26 UTC (permalink / raw)
  To: axboe, linux-kernel

The patch below makes two needlessly global functions static.


diffstat output:
 drivers/block/elevator.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.10-rc1-mm3-full/drivers/block/elevator.c.old	2004-11-06 19:55:01.000000000 +0100
+++ linux-2.6.10-rc1-mm3-full/drivers/block/elevator.c	2004-11-06 19:55:34.000000000 +0100
@@ -92,7 +92,7 @@
 }
 EXPORT_SYMBOL(elv_try_last_merge);
 
-struct elevator_type *elevator_find(const char *name)
+static struct elevator_type *elevator_find(const char *name)
 {
 	struct elevator_type *e = NULL;
 	struct list_head *entry;
@@ -222,7 +222,7 @@
 	kfree(e);
 }
 
-int elevator_global_init(void)
+static int elevator_global_init(void)
 {
 	return 0;
 }


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.6 patch] drivers/block/elevator.c: make two functions static
  2004-11-29 12:26   ` [2.6 patch] drivers/block/elevator.c: make two functions static Adrian Bunk
@ 2004-11-29 19:36     ` Jens Axboe
  0 siblings, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2004-11-29 19:36 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-kernel

On Mon, Nov 29 2004, Adrian Bunk wrote:
> The patch below makes two needlessly global functions static.
> 
> 
> diffstat output:
>  drivers/block/elevator.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> 
> Signed-off-by: Adrian Bunk <bunk@stusta.de>

Acked-by: Jens Axboe <axboe@suse.de>

> --- linux-2.6.10-rc1-mm3-full/drivers/block/elevator.c.old	2004-11-06 19:55:01.000000000 +0100
> +++ linux-2.6.10-rc1-mm3-full/drivers/block/elevator.c	2004-11-06 19:55:34.000000000 +0100
> @@ -92,7 +92,7 @@
>  }
>  EXPORT_SYMBOL(elv_try_last_merge);
>  
> -struct elevator_type *elevator_find(const char *name)
> +static struct elevator_type *elevator_find(const char *name)
>  {
>  	struct elevator_type *e = NULL;
>  	struct list_head *entry;
> @@ -222,7 +222,7 @@
>  	kfree(e);
>  }
>  
> -int elevator_global_init(void)
> +static int elevator_global_init(void)
>  {
>  	return 0;
>  }
> 
> 

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [2.6 patch] drivers/block/elevator.c: make two functions static
@ 2005-01-23 10:16 Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2005-01-23 10:16 UTC (permalink / raw)
  To: Andrew Morton; +Cc: axboe, linux-kernel

This patch makes two needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Jens Axboe <axboe@suse.de>

---

 drivers/block/elevator.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

This patch was already sent on:
- 29 Nov 2004

--- linux-2.6.10-rc1-mm3-full/drivers/block/elevator.c.old	2004-11-06 19:55:01.000000000 +0100
+++ linux-2.6.10-rc1-mm3-full/drivers/block/elevator.c	2004-11-06 19:55:34.000000000 +0100
@@ -92,7 +92,7 @@
 }
 EXPORT_SYMBOL(elv_try_last_merge);
 
-struct elevator_type *elevator_find(const char *name)
+static struct elevator_type *elevator_find(const char *name)
 {
 	struct elevator_type *e = NULL;
 	struct list_head *entry;
@@ -222,7 +222,7 @@
 	kfree(e);
 }
 
-int elevator_global_init(void)
+static int elevator_global_init(void)
 {
 	return 0;
 }


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-01-23 10:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-23 10:16 [2.6 patch] drivers/block/elevator.c: make two functions static Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2004-11-24 23:10 [2.6 patch] drivers/block/: some cleanups Adrian Bunk
2004-11-25 10:12 ` Christoph Hellwig
2004-11-29 12:26   ` [2.6 patch] drivers/block/elevator.c: make two functions static Adrian Bunk
2004-11-29 19:36     ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox