lkml.org 
[lkml]   [2011]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH staging 4/6] et131x: remove extraneous pci_save_state.
    pci_{save, restore}_state are balanced in .suspend and .resume.
    They are not used anywhere else in the driver.

    Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
    ---
    drivers/staging/et131x/et131x.c | 1 -
    1 files changed, 0 insertions(+), 1 deletions(-)

    diff --git a/drivers/staging/et131x/et131x.c b/drivers/staging/et131x/et131x.c
    index 2b6ca6a..46de73b 100644
    --- a/drivers/staging/et131x/et131x.c
    +++ b/drivers/staging/et131x/et131x.c
    @@ -5423,7 +5423,6 @@ static int __devinit et131x_pci_setup(struct pci_dev *pdev,
    * been initialized, just in case it needs to be quickly restored.
    */
    pci_set_drvdata(pdev, netdev);
    - pci_save_state(adapter->pdev);
    out:
    return rc;

    --
    1.7.6.4


    \
     
     \ /
      Last update: 2011-10-23 19:17    [W:0.019 / U:61.592 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site