i7core_edac: remove static counter for max sockets
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Sep 2009 15:16:19 +0000 (12:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 10 May 2010 14:45:00 +0000 (11:45 -0300)
The number of sockets is now fully dynamic. Get rid of this obsolete
var.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/i7core_edac.c

index c2266f8..391348b 100644 (file)
@@ -247,7 +247,6 @@ struct i7core_pvt {
 /* Static vars */
 static LIST_HEAD(i7core_edac_list);
 static DEFINE_MUTEX(i7core_edac_lock);
-static u8 max_num_sockets;
 
 #define PCI_DESCR(device, function, device_id) \
        .dev = (device),                        \