forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/net/wan/lmc/lmc_media.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /* $Id: lmc_media.c,v 1.13 2000/04/11 05:25:26 asj Exp $ */
23
34 #include <linux/kernel.h>
....@@ -37,9 +38,6 @@
3738 * Rob Braun (bbraun@vix.com),
3839 * Michael Graff (explorer@vix.com) and
3940 * Matt Thomas (matt@3am-software.com).
40
- *
41
- * This software may be used and distributed according to the terms
42
- * of the GNU General Public License version 2, incorporated herein by reference.
4341 */
4442
4543 /*
....@@ -1028,7 +1026,6 @@
10281026 * led3 red = Loss of Signal (LOS) or out of frame (OOF)
10291027 * conditions detected on T3 receive signal
10301028 */
1031
- lmc_trace(sc->lmc_device, "lmc_t1_get_link_status in");
10321029 lmc_led_on(sc, LMC_DS3_LED2);
10331030
10341031 lmc_mii_writereg (sc, 0, 17, T1FRAMER_ALARM1_STATUS);
....@@ -1121,9 +1118,6 @@
11211118
11221119 lmc_mii_writereg (sc, 0, 17, T1FRAMER_ALARM2_STATUS);
11231120 sc->lmc_xinfo.t1_alarm2_status = lmc_mii_readreg (sc, 0, 18);
1124
-
1125
-
1126
- lmc_trace(sc->lmc_device, "lmc_t1_get_link_status out");
11271121
11281122 return ret;
11291123 }