From: Adrian Bunk This patch makes two needlessly global variables static. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton --- 25-akpm/drivers/block/rd.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/block/rd.c~drivers-block-rdc-make-two-variables-static drivers/block/rd.c --- 25/drivers/block/rd.c~drivers-block-rdc-make-two-variables-static 2005-01-23 14:36:09.884029816 -0800 +++ 25-akpm/drivers/block/rd.c 2005-01-23 14:36:09.888029208 -0800 @@ -74,7 +74,7 @@ static struct request_queue *rd_queue[CO * architecture-specific setup routine (from the stored boot sector * information). */ -int rd_size = CONFIG_BLK_DEV_RAM_SIZE; /* Size of the RAM disks */ +static int rd_size = CONFIG_BLK_DEV_RAM_SIZE; /* Size of the RAM disks */ /* * It would be very desirable to have a soft-blocksize (that in the case * of the ramdisk driver is also the hardblocksize ;) of PAGE_SIZE because @@ -86,7 +86,7 @@ int rd_size = CONFIG_BLK_DEV_RAM_SIZE; * behaviour. The default is still BLOCK_SIZE (needed by rd_load_image that * supposes the filesystem in the image uses a BLOCK_SIZE blocksize). */ -int rd_blocksize = BLOCK_SIZE; /* blocksize of the RAM disks */ +static int rd_blocksize = BLOCK_SIZE; /* blocksize of the RAM disks */ /* * Copyright (C) 2000 Linus Torvalds. _