Commit c02cf91a authored by Stephen Hemminger's avatar Stephen Hemminger

[netdrvr sk98lin] build on smp fix

There is no exported variable called smp_num_cpus! so this driver
won't build on SMP.  Since the local variable is never used anyway
just get rid of it.

This applies against 2.6.0-test5-bk13 which has the last vendor
driver update.
parent 0048edcd
...@@ -318,11 +318,6 @@ GetCurrentSystemLoad(SK_AC *pAC) { ...@@ -318,11 +318,6 @@ GetCurrentSystemLoad(SK_AC *pAC) {
unsigned int TotalTime = 0; unsigned int TotalTime = 0;
unsigned int UsedTime = 0; unsigned int UsedTime = 0;
unsigned int SystemLoad = 0; unsigned int SystemLoad = 0;
#ifdef CONFIG_SMP
unsigned int SKNumCpus = smp_num_cpus;
#else
unsigned int SKNumCpus = 1;
#endif
/* unsigned int NbrCpu = 0; */ /* unsigned int NbrCpu = 0; */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment