lkml.org 
[lkml]   [2017]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 10/17] PCI: dwc: artpec6: Remove unused defines
    Date
    Commit b015b37e6693 ("PCI: artpec6: Stop enabling writes to
    DBI read-only registers") removed the only write using these
    defines, but it did not remove the defines.
    Remove the defines since they are now unused.

    Signed-off-by: Niklas Cassel <niklas.cassel@axis.com>
    ---
    V2:
    * Changed commit message to include correct prefix.

    drivers/pci/dwc/pcie-artpec6.c | 3 ---
    1 file changed, 3 deletions(-)

    diff --git a/drivers/pci/dwc/pcie-artpec6.c b/drivers/pci/dwc/pcie-artpec6.c
    index 6653619db6a1..4b8ef266dc2f 100644
    --- a/drivers/pci/dwc/pcie-artpec6.c
    +++ b/drivers/pci/dwc/pcie-artpec6.c
    @@ -37,9 +37,6 @@ struct artpec6_pcie {
    #define PCIE_PHY_DEBUG_R0 (PL_OFFSET + 0x28)
    #define PCIE_PHY_DEBUG_R1 (PL_OFFSET + 0x2c)

    -#define MISC_CONTROL_1_OFF (PL_OFFSET + 0x1bc)
    -#define DBI_RO_WR_EN 1
    -
    /* ARTPEC-6 specific registers */
    #define PCIECFG 0x18
    #define PCIECFG_DBG_OEN (1 << 24)
    --
    2.14.2
    \
     
     \ /
      Last update: 2017-10-30 13:46    [W:4.072 / U:0.356 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site