mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-28 00:35:01 +00:00
caif: Remove unused cfsrvl_getphyid
cfsrvl_getphyid() has been unused since 2011's commit
f362144084
("caif: Use RCU and lists in cfcnfg.c for managing caif link layers")
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241007004456.149899-1-linux@treblig.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
da5e06dee5
commit
3fe3dbaf26
@ -40,7 +40,6 @@ void cfsrvl_init(struct cfsrvl *service,
|
||||
struct dev_info *dev_info,
|
||||
bool supports_flowctrl);
|
||||
bool cfsrvl_ready(struct cfsrvl *service, int *err);
|
||||
u8 cfsrvl_getphyid(struct cflayer *layer);
|
||||
|
||||
static inline void cfsrvl_get(struct cflayer *layr)
|
||||
{
|
||||
|
@ -183,12 +183,6 @@ bool cfsrvl_ready(struct cfsrvl *service, int *err)
|
||||
return true;
|
||||
}
|
||||
|
||||
u8 cfsrvl_getphyid(struct cflayer *layer)
|
||||
{
|
||||
struct cfsrvl *servl = container_obj(layer);
|
||||
return servl->dev_info.id;
|
||||
}
|
||||
|
||||
bool cfsrvl_phyid_match(struct cflayer *layer, int phyid)
|
||||
{
|
||||
struct cfsrvl *servl = container_obj(layer);
|
||||
|
Loading…
Reference in New Issue
Block a user