Commit 2ee50374 authored by Federico Vaga's avatar Federico Vaga

fa-core.c: nobody use fa->base, remove it

Signed-off-by: 's avatarFederico Vaga <federico.vaga@gmail.com>
parent fe0855bf
......@@ -35,7 +35,6 @@ int fa_probe(struct fmc_device *fmc)
{
struct fa_modlist *m = NULL;
struct fa_dev *fa;
struct spec_dev *spec = fmc->carrier_data;
int err, i = 0;
if (strcmp(fmc->carrier_name, "SPEC")) {
......@@ -48,9 +47,7 @@ int fa_probe(struct fmc_device *fmc)
if (!fa)
return -ENOMEM;
fmc_set_drvdata(fmc, fa);
fa->fmc = fmc;
fa->base = spec->remap[0];
/* We first write a new binary (and lm32) within the spec */
err = fmc->op->reprogram(fmc, &fa_dev__drv, fa_binaries);
......
......@@ -60,7 +60,6 @@ struct dma_item {
* @cur_dev_mem: contains the device address to the current block of data in
* transmission from device. It is updated for each dma_items
* transfer
* @base: the base address for to access device registers (BAR0)
*/
struct fa_dev {
struct fmc_device *fmc;
......@@ -75,8 +74,6 @@ struct fa_dev {
uint32_t lst_dev_mem;
uint32_t cur_dev_mem;
unsigned char __iomem *base;
/* one-wire */
uint8_t ds18_id[8];
unsigned long next_t;
......
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