net: microchip: Remove unused declarations
authorYue Haibing <yuehaibing@huawei.com>
Mon, 21 Aug 2023 13:55:56 +0000 (21:55 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 22 Aug 2023 17:31:47 +0000 (10:31 -0700)
commitdff96d7c0cda7cedcbfd382f15fa1c0908e8f317
tree94f6269f3a536f1eaa658af61113099fbf6a6ba1
parentefa47e80c2bfdd6cab9c9de014fca3e630eb6cfe
net: microchip: Remove unused declarations

Commit 264a9c5c9dff ("net: sparx5: Remove unused GLAG handling in PGID")
removed sparx5_pgid_alloc_glag() but not its declaration.
Commit 27d293cceee5 ("net: microchip: sparx5: Add support for rule count by cookie")
removed vcap_rule_iter() but not its declaration.
Commit 8beef08f4618 ("net: microchip: sparx5: Adding initial VCAP API support")
declared but never implemented vcap_api_set_client().

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20230821135556.43224-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/microchip/sparx5/sparx5_main.h
drivers/net/ethernet/microchip/vcap/vcap_api.h
drivers/net/ethernet/microchip/vcap/vcap_api_client.h