Commit 38028e6f authored by Alex Elder's avatar Alex Elder Committed by David S. Miller

net: ipa: get rid of ipa->reg_addr

The reg_addr field in the IPA structure is set but never used.
Get rid of it.
Signed-off-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2df181f0
...@@ -45,7 +45,6 @@ struct ipa_interrupt; ...@@ -45,7 +45,6 @@ struct ipa_interrupt;
* @interrupt: IPA Interrupt information * @interrupt: IPA Interrupt information
* @uc_powered: true if power is active by proxy for microcontroller * @uc_powered: true if power is active by proxy for microcontroller
* @uc_loaded: true after microcontroller has reported it's ready * @uc_loaded: true after microcontroller has reported it's ready
* @reg_addr: DMA address used for IPA register access
* @reg_virt: Virtual address used for IPA register access * @reg_virt: Virtual address used for IPA register access
* @regs: IPA register definitions * @regs: IPA register definitions
* @mem_addr: DMA address of IPA-local memory space * @mem_addr: DMA address of IPA-local memory space
...@@ -97,7 +96,6 @@ struct ipa { ...@@ -97,7 +96,6 @@ struct ipa {
bool uc_powered; bool uc_powered;
bool uc_loaded; bool uc_loaded;
dma_addr_t reg_addr;
void __iomem *reg_virt; void __iomem *reg_virt;
const struct ipa_regs *regs; const struct ipa_regs *regs;
......
...@@ -123,7 +123,6 @@ int ipa_reg_init(struct ipa *ipa) ...@@ -123,7 +123,6 @@ int ipa_reg_init(struct ipa *ipa)
dev_err(dev, "unable to remap \"ipa-reg\" memory\n"); dev_err(dev, "unable to remap \"ipa-reg\" memory\n");
return -ENOMEM; return -ENOMEM;
} }
ipa->reg_addr = res->start;
ipa->regs = regs; ipa->regs = regs;
return 0; return 0;
......
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