[PATCH net-next] net: microchip: vcap: Remove unneeded semicolons

zhang.songyi at zte.com.cn zhang.songyi at zte.com.cn
Wed Nov 30 18:06:42 PST 2022


From: zhang songyi <zhang.songyi at zte.com.cn>

Semicolons after "}" are not needed.

Signed-off-by: zhang songyi <zhang.songyi at zte.com.cn>
---
 drivers/net/ethernet/microchip/vcap/vcap_api.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/microchip/vcap/vcap_api.c b/drivers/net/ethernet/microchip/vcap/vcap_api.c
index 93efa8243b02..b8df3cf32f1f 100644
--- a/drivers/net/ethernet/microchip/vcap/vcap_api.c
+++ b/drivers/net/ethernet/microchip/vcap/vcap_api.c
@@ -1394,7 +1394,7 @@ static void vcap_copy_from_client_keyfield(struct vcap_rule *rule,
                vcap_copy_to_w32be(field->data.u128.value, data->u128.value, size);
                vcap_copy_to_w32be(field->data.u128.mask,  data->u128.mask, size);
                break;
-       };
+       }
 }

 /* Check if the keyfield is already in the rule */
@@ -1584,7 +1584,7 @@ static void vcap_copy_from_client_actionfield(struct vcap_rule *rule,
        case VCAP_FIELD_U128:
                vcap_copy_to_w32be(field->data.u128.value, data->u128.value, size);
                break;
-       };
+       }
 }

 /* Check if the actionfield is already in the rule */
--
2.25.1



More information about the linux-arm-kernel mailing list