mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-16 05:26:07 +00:00
caif: Remove unused cfsrvl_getphyid
cfsrvl_getphyid() has been unused since 2011's commit f36214408470 ("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,
|
struct dev_info *dev_info,
|
||||||
bool supports_flowctrl);
|
bool supports_flowctrl);
|
||||||
bool cfsrvl_ready(struct cfsrvl *service, int *err);
|
bool cfsrvl_ready(struct cfsrvl *service, int *err);
|
||||||
u8 cfsrvl_getphyid(struct cflayer *layer);
|
|
||||||
|
|
||||||
static inline void cfsrvl_get(struct cflayer *layr)
|
static inline void cfsrvl_get(struct cflayer *layr)
|
||||||
{
|
{
|
||||||
|
@ -183,12 +183,6 @@ bool cfsrvl_ready(struct cfsrvl *service, int *err)
|
|||||||
return true;
|
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)
|
bool cfsrvl_phyid_match(struct cflayer *layer, int phyid)
|
||||||
{
|
{
|
||||||
struct cfsrvl *servl = container_obj(layer);
|
struct cfsrvl *servl = container_obj(layer);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user