2008-01-30 20:06:28

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] unexport add_disk_randomness

This patch removes the no longer used EXPORT_SYMBOL(add_disk_randomness).

Signed-off-by: Adrian Bunk <[email protected]>

---
f1a195a30248eae541ba006633aa70385d1eb785
diff --git a/drivers/char/random.c b/drivers/char/random.c
index 5fee056..c511a83 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -667,8 +667,6 @@ void add_disk_randomness(struct gendisk *disk)
add_timer_randomness(disk->random,
0x100 + MKDEV(disk->major, disk->first_minor));
}
-
-EXPORT_SYMBOL(add_disk_randomness);
#endif

#define EXTRACT_SIZE 10


2008-01-30 20:16:55

by Matt Mackall

[permalink] [raw]
Subject: Re: [2.6 patch] unexport add_disk_randomness


On Wed, 2008-01-30 at 22:02 +0200, Adrian Bunk wrote:
> This patch removes the no longer used EXPORT_SYMBOL(add_disk_randomness).
>
> Signed-off-by: Adrian Bunk <[email protected]>

Acked-by: Matt Mackall <[email protected]>

> ---
> f1a195a30248eae541ba006633aa70385d1eb785
> diff --git a/drivers/char/random.c b/drivers/char/random.c
> index 5fee056..c511a83 100644
> --- a/drivers/char/random.c
> +++ b/drivers/char/random.c
> @@ -667,8 +667,6 @@ void add_disk_randomness(struct gendisk *disk)
> add_timer_randomness(disk->random,
> 0x100 + MKDEV(disk->major, disk->first_minor));
> }
> -
> -EXPORT_SYMBOL(add_disk_randomness);
> #endif
>
> #define EXTRACT_SIZE 10
--
Mathematics is the supreme nostalgia of our time.

2008-01-30 20:20:00

by Jens Axboe

[permalink] [raw]
Subject: Re: [2.6 patch] unexport add_disk_randomness

On Wed, Jan 30 2008, Adrian Bunk wrote:
> This patch removes the no longer used EXPORT_SYMBOL(add_disk_randomness).
>
> Signed-off-by: Adrian Bunk <[email protected]>

Thanks, applied.

--
Jens Axboe