Commit 7a2db6c1 authored by Cedric Roux's avatar Cedric Roux

compilation warning removal

parent f37de524
...@@ -193,7 +193,7 @@ int exmimo_assign_shm_vars(int card_id) ...@@ -193,7 +193,7 @@ int exmimo_assign_shm_vars(int card_id)
int exmimo_allocate_rx_tx_buffers(int card_id) int exmimo_allocate_rx_tx_buffers(int card_id)
{ {
size_t size; size_t size;
int j,i; int j;
dma_addr_t dma_addr_dummy; dma_addr_t dma_addr_dummy;
// Round up to the next PAGE_SIZE (typ. 4096 bytes) // Round up to the next PAGE_SIZE (typ. 4096 bytes)
size = (ADAC_BUFFERSZ_PERCHAN_B >> PAGE_SHIFT) + 1; size = (ADAC_BUFFERSZ_PERCHAN_B >> PAGE_SHIFT) + 1;
...@@ -243,8 +243,6 @@ int exmimo_allocate_rx_tx_buffers(int card_id) ...@@ -243,8 +243,6 @@ int exmimo_allocate_rx_tx_buffers(int card_id)
*/ */
int exmimo_memory_alloc(int card) int exmimo_memory_alloc(int card)
{ {
int i;
if ( bigshm_init( card ) ) { if ( bigshm_init( card ) ) {
printk("exmimo_memory_alloc(): bigshm_init failed for card %d.\n", card); printk("exmimo_memory_alloc(): bigshm_init failed for card %d.\n", card);
return -ENOMEM; return -ENOMEM;
......
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