forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
....@@ -1,10 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright (c) 2014-2015 Hisilicon Limited.
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License as published by
6
- * the Free Software Foundation; either version 2 of the License, or
7
- * (at your option) any later version.
84 */
95
106 #include <linux/etherdevice.h>
....@@ -16,8 +12,6 @@
1612 #include "hns_dsaf_main.h"
1713 #include "hns_dsaf_ppe.h"
1814 #include "hns_dsaf_rcb.h"
19
-
20
-#define AE_NAME_PORT_ID_IDX 6
2115
2216 static struct hns_mac_cb *hns_get_mac_cb(struct hnae_handle *handle)
2317 {