From: Hiroaki SHIMODA Date: Sun, 2 Mar 2014 08:30:26 +0000 (+0900) Subject: sch_tbf: Remove holes in struct tbf_sched_data. X-Git-Tag: v3.15-rc1~113^2~230 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a135e598c463baf9497b84e1e92f9a8f96d3521c;p=pandora-kernel.git sch_tbf: Remove holes in struct tbf_sched_data. On x86_64 we have 3 holes in struct tbf_sched_data. The member peak_present can be replaced with peak.rate_bytes_ps, because peak.rate_bytes_ps is set only when peak is specified in tbf_change(). tbf_peak_present() is introduced to test peak.rate_bytes_ps. The member max_size is moved to fill 32bit hole. Signed-off-by: Hiroaki SHIMODA Signed-off-by: David S. Miller --- Reading git-diff-tree failed