|
@@ -476,7 +476,6 @@ static int phantom_dmesg ( struct phantom_nic *phantom, unsigned int log,
|
476
|
476
|
unsigned int max_lines ) {
|
477
|
477
|
uint32_t head;
|
478
|
478
|
uint32_t tail;
|
479
|
|
- uint32_t len;
|
480
|
479
|
uint32_t sig;
|
481
|
480
|
uint32_t offset;
|
482
|
481
|
int byte;
|
|
@@ -487,7 +486,6 @@ static int phantom_dmesg ( struct phantom_nic *phantom, unsigned int log,
|
487
|
486
|
|
488
|
487
|
/* Locate log */
|
489
|
488
|
head = phantom_readl ( phantom, UNM_CAM_RAM_DMESG_HEAD ( log ) );
|
490
|
|
- len = phantom_readl ( phantom, UNM_CAM_RAM_DMESG_LEN ( log ) );
|
491
|
489
|
tail = phantom_readl ( phantom, UNM_CAM_RAM_DMESG_TAIL ( log ) );
|
492
|
490
|
sig = phantom_readl ( phantom, UNM_CAM_RAM_DMESG_SIG ( log ) );
|
493
|
491
|
DBGC ( phantom, "Phantom %p firmware dmesg buffer %d (%08x-%08x)\n",
|