瀏覽代碼

Remove unneeded include files and local variable.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
Jon Loeliger 18 年之前
父節點
當前提交
0ee90cb77e
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      drivers/tsec.c

+ 0 - 3
drivers/tsec.c

@@ -12,8 +12,6 @@
  */
  */
 
 
 #include <config.h>
 #include <config.h>
-#include <mpc85xx.h>
-#include <mpc86xx.h>
 #include <common.h>
 #include <common.h>
 #include <malloc.h>
 #include <malloc.h>
 #include <net.h>
 #include <net.h>
@@ -838,7 +836,6 @@ struct phy_info phy_info_M88E1111S = {
 
 
 static unsigned int m88e1145_setmode(uint mii_reg, struct tsec_private *priv)
 static unsigned int m88e1145_setmode(uint mii_reg, struct tsec_private *priv)
 {
 {
-	unsigned int temp;
 	uint mii_data = read_phy_reg(priv, mii_reg);
 	uint mii_data = read_phy_reg(priv, mii_reg);
 
 
 	/* Setting MIIM_88E1145_PHY_EXT_CR */
 	/* Setting MIIM_88E1145_PHY_EXT_CR */