Re: [PATCH 5/6] cfq-iosched: Get rid of unnecessary local variable

2012-12-06 Thread Tejun Heo
On Wed, Oct 03, 2012 at 04:57:00PM -0400, Vivek Goyal wrote: > Use of local varibale "n" seems to be unnecessary. Remove it. This brings > it inline with function __cfq_group_st_add(), which is also doing the > similar operation of adding a group to a rb tree. > > No functionality change here. >

[PATCH 5/6] cfq-iosched: Get rid of unnecessary local variable

2012-10-03 Thread Vivek Goyal
Use of local varibale "n" seems to be unnecessary. Remove it. This brings it inline with function __cfq_group_st_add(), which is also doing the similar operation of adding a group to a rb tree. No functionality change here. Signed-off-by: Vivek Goyal Acked-by: Jeff Moyer --- block/cfq-iosched.