diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-03-29 03:13:36 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-29 02:13:53 +0400 |
commit | 36683aab90373afd0cff0935bf886ebe6c7b0de6 (patch) | |
tree | c299130d7c5eb1f0bb403d78c9e920c2e22ab84c /drivers/edac/amd64_edac_dbg.c | |
parent | 805afb6997ce45093981f27afbe4e21ccde3d990 (diff) | |
download | linux-36683aab90373afd0cff0935bf886ebe6c7b0de6.tar.xz |
i82975x_edac: Test nr_pages earlier to save a few CPU cycles
Avoid test nr_pages twice, and initializing some data that won't
be used.
Cleanup patch only.
Reported-by: Aristeu Rozanski Filho <arozansk@redhat.com>
Reviewed-by: Aristeu Rozanski <arozansk@redhat.com>
Cc: Ranganathan Desikan <ravi@jetztechnologies.com>
Cc: "Arvind R." <arvino55@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac/amd64_edac_dbg.c')
0 files changed, 0 insertions, 0 deletions