From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/kernel/drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c b/kernel/drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
index a78bfaf..b98244f 100644
--- a/kernel/drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
+++ b/kernel/drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
@@ -1,10 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (c) 2014-2015 Hisilicon Limited.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
*/
#include <linux/etherdevice.h>
@@ -16,8 +12,6 @@
#include "hns_dsaf_main.h"
#include "hns_dsaf_ppe.h"
#include "hns_dsaf_rcb.h"
-
-#define AE_NAME_PORT_ID_IDX 6
static struct hns_mac_cb *hns_get_mac_cb(struct hnae_handle *handle)
{
--
Gitblit v1.6.2