Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8aea4545 authored by Paul Bolle's avatar Paul Bolle Committed by Jens Axboe
Browse files

CFQ: make two functions static



Correctly suggested by sparse.

Signed-off-by: default avatarPaul Bolle <pebolle@tiscali.nl>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent 9b50902d
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -1004,7 +1004,7 @@ static inline struct cfq_group *cfqg_of_blkg(struct blkio_group *blkg)
	return NULL;
	return NULL;
}
}


void cfq_update_blkio_group_weight(void *key, struct blkio_group *blkg,
static void cfq_update_blkio_group_weight(void *key, struct blkio_group *blkg,
					  unsigned int weight)
					  unsigned int weight)
{
{
	struct cfq_group *cfqg = cfqg_of_blkg(blkg);
	struct cfq_group *cfqg = cfqg_of_blkg(blkg);
@@ -1234,7 +1234,7 @@ static void cfq_release_cfq_groups(struct cfq_data *cfqd)
 * it should not be NULL as even if elevator was exiting, cgroup deltion
 * it should not be NULL as even if elevator was exiting, cgroup deltion
 * path got to it first.
 * path got to it first.
 */
 */
void cfq_unlink_blkio_group(void *key, struct blkio_group *blkg)
static void cfq_unlink_blkio_group(void *key, struct blkio_group *blkg)
{
{
	unsigned long  flags;
	unsigned long  flags;
	struct cfq_data *cfqd = key;
	struct cfq_data *cfqd = key;