# HG changeset patch # User Patrick Bruenn # Date 1401983675 -7200 # Node ID 99ef4dcaba0f4b0c9bc5e6308cf9fba80a008eba # Parent ad9a35065387ae6ebb25ee1f28efcd758a9fd9a5 remove dead commented code diff -r ad9a35065387 -r 99ef4dcaba0f devices/ccat/netdev.c --- a/devices/ccat/netdev.c Thu Jun 05 17:41:48 2014 +0200 +++ b/devices/ccat/netdev.c Thu Jun 05 17:54:35 2014 +0200 @@ -425,7 +425,6 @@ { struct ccat_eth_priv *const priv = netdev_priv(dev); struct ccat_mac_register mac; - memcpy_fromio(&mac, priv->reg.mac, sizeof(mac)); storage->rx_packets = mac.rx_frames; /* total packets received */ storage->tx_packets = mac.tx_frames; /* total packets transmitted */ @@ -500,9 +499,6 @@ /* ccat register mappings */ memcpy_fromio(&priv->info, addr, sizeof(priv->info)); ccat_eth_priv_init_mappings(priv); - /* XXX disabled in release - * ccat_print_function_info(priv); - */ if (ccat_eth_priv_init_dma(priv)) { pr_warn("%s(): DMA initialization failed.\n", __FUNCTION__);