forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/net/ethernet/apm/xgene-v2/ethtool.c
....@@ -1,22 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Applied Micro X-Gene SoC Ethernet v2 Driver
34 *
45 * Copyright (c) 2017, Applied Micro Circuits Corporation
56 * Author(s): Iyappan Subramanian <isubramanian@apm.com>
67 * Keyur Chudgar <kchudgar@apm.com>
7
- *
8
- * This program is free software; you can redistribute it and/or modify it
9
- * under the terms of the GNU General Public License as published by the
10
- * Free Software Foundation; either version 2 of the License, or (at your
11
- * option) any later version.
12
- *
13
- * This program is distributed in the hope that it will be useful,
14
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
- * GNU General Public License for more details.
17
- *
18
- * You should have received a copy of the GNU General Public License
19
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
208 */
219
2210 #include "main.h"
....@@ -101,8 +89,6 @@
10189 struct platform_device *pdev = pdata->pdev;
10290
10391 strcpy(info->driver, "xgene-enet-v2");
104
- strcpy(info->version, XGENE_ENET_V2_VERSION);
105
- snprintf(info->fw_version, ETHTOOL_FWVERS_LEN, "N/A");
10692 sprintf(info->bus_info, "%s", pdev->name);
10793 }
10894