]> git.neil.brown.name Git - history.git/commitdiff
[netdrvr sk98lin] build on smp fix
authorStephen Hemminger <shemminger@osdl.org>
Sat, 27 Sep 2003 01:51:01 +0000 (21:51 -0400)
committerStephen Hemminger <shemminger@osdl.org>
Sat, 27 Sep 2003 01:51:01 +0000 (21:51 -0400)
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.

drivers/net/sk98lin/skdim.c

index 0a2da479b2d8500ee45a4037125a1f1d5d099c94..13cbb3d3622d85b98bbe2028b5521a4b9b5addad 100644 (file)
@@ -318,11 +318,6 @@ GetCurrentSystemLoad(SK_AC *pAC) {
        unsigned int  TotalTime   = 0;
        unsigned int  UsedTime    = 0;
        unsigned int  SystemLoad  = 0;
-#ifdef CONFIG_SMP
-       unsigned int  SKNumCpus   = smp_num_cpus;
-#else
-       unsigned int  SKNumCpus   = 1;
-#endif
 
        /* unsigned int  NbrCpu      = 0; */