Skip to content

Commit

Permalink
update 201-fix-compile-warning ssdk patch
Browse files Browse the repository at this point in the history
  • Loading branch information
rmandrad committed May 6, 2024
1 parent a27484f commit 6af2600
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions package/kernel/qca-ssdk/patches/201-fix-compile-warnings.patch
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
--- a/src/adpt/adpt.c
+++ b/src/adpt/adpt.c
@@ -394,11 +394,6 @@ sw_error_t adpt_init(a_uint32_t dev_id,
#endif
#endif
#if defined(HPPE)
-#if defined(FALLTHROUGH)
- fallthrough;
-#else
- /* fall through */
-#endif
case CHIP_HPPE:
if (g_adpt_api[dev_id] == NULL) {
g_adpt_api[dev_id] = aos_mem_alloc(sizeof(adpt_api_t));
--- a/src/fal/fal_port_ctrl.c
+++ b/src/fal/fal_port_ctrl.c
@@ -2089,7 +2089,7 @@ fal_port_hibernate_get (a_uint32_t dev_i
Expand All @@ -22,7 +8,7 @@
+ fal_cable_status_t * cable_status, a_uint32_t * cable_len)
{
sw_error_t rv;

--- a/src/fal/fal_portvlan.c
+++ b/src/fal/fal_portvlan.c
@@ -2173,7 +2173,7 @@ fal_netisolate_get(a_uint32_t dev_id, a_
Expand All @@ -33,7 +19,7 @@
+fal_eg_trans_filter_bypass_en_set(a_uint32_t dev_id, a_uint32_t enable)
{
sw_error_t rv;

@@ -2190,7 +2190,7 @@ fal_eg_trans_filter_bypass_en_set(a_uint
* @return SW_OK or error code
*/
Expand All @@ -42,4 +28,3 @@
+fal_eg_trans_filter_bypass_en_get(a_uint32_t dev_id, a_uint32_t* enable)
{
sw_error_t rv;

0 comments on commit 6af2600

Please sign in to comment.