net: caif: Remove unused declaration cfsrvl_ctrlcmd()
authorYue Haibing <yuehaibing@huawei.com>
Wed, 9 Aug 2023 13:49:43 +0000 (21:49 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 11 Aug 2023 01:24:48 +0000 (18:24 -0700)
Commit 43e369210108 ("caif: Move refcount from service layer to sock and dev.")
declared but never implemented this.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20230809134943.37844-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/caif/cfsrvl.h

index bd54409..5ee7b32 100644 (file)
@@ -33,9 +33,6 @@ struct cflayer *cfrfml_create(u8 linkid, struct dev_info *dev_info,
                                int mtu_size);
 struct cflayer *cfdbgl_create(u8 linkid, struct dev_info *dev_info);
 
-void cfsrvl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl,
-                    int phyid);
-
 bool cfsrvl_phyid_match(struct cflayer *layer, int phyid);
 
 void cfsrvl_init(struct cfsrvl *service,