Skip to content
Commit 36683aab authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

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: default avatarAristeu Rozanski Filho <arozansk@redhat.com>
Reviewed-by: default avatarAristeu Rozanski <arozansk@redhat.com>
Cc: Ranganathan Desikan <ravi@jetztechnologies.com>
Cc: "Arvind R." <arvino55@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 805afb69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment