From: Jarek Poplawski Date: Wed, 10 Dec 2008 06:34:40 +0000 (-0800) Subject: pkt_sched: sch_htb: Optimize htb_find_next_upper() X-Git-Tag: v2.6.29-rc1~581^2~271 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b5c0077e1615bb16e777a10ec1fc1195ba059ac;p=pandora-kernel.git pkt_sched: sch_htb: Optimize htb_find_next_upper() htb_id_find_next_upper() is usually called to find a class with next id after some previously removed class, so let's move a check for equality to the end: it's the least likely here. Signed-off-by: Jarek Poplawski Signed-off-by: David S. Miller --- Reading git-diff-tree failed