Changeset 28851


Ignore:
Timestamp:
2011-11-08T01:33:20+01:00 (6 years ago)
Author:
nbd
Message:

ar71xx: remove dead code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_ar7240.c

    r28850 r28851  
    398398} 
    399399 
    400 static int ar7240sw_capture_stats(struct ar7240sw *as) 
    401 { 
    402         struct mii_bus *mii = as->mii_bus; 
    403         int ret; 
    404  
    405         /* Capture the hardware statistics for all ports */ 
    406         ar7240sw_reg_write(mii, AR7240_REG_MIB_FUNCTION0, 
    407                            (AR7240_MIB_FUNC_CAPTURE << AR7240_MIB_FUNC_S)); 
    408  
    409         /* Wait for the capturing to complete. */ 
    410         ret = ar7240sw_reg_wait(mii, AR7240_REG_MIB_FUNCTION0, 
    411                                 AR7240_MIB_BUSY, 0, 10); 
    412         return ret; 
    413 } 
    414  
    415400static void ar7240sw_disable_port(struct ar7240sw *as, unsigned port) 
    416401{ 
Note: See TracChangeset for help on using the changeset viewer.