caif: code cleanup
Cleanup of new CAIF code. * make local functions static * remove code that is never used * expand get_caif_conf() since wrapper is no longer needed * make args to comparison functions const * rename connect_req_to_link_param to keep exported names consistent Compile tested only. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Acked-by: Sjur Brændeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1c01a80cfe
commit
73d6ac633c
12 changed files with 30 additions and 416 deletions
|
@ -121,19 +121,9 @@ int cfctrl_linkup_request(struct cflayer *cfctrl,
|
|||
struct cflayer *user_layer);
|
||||
int cfctrl_linkdown_req(struct cflayer *cfctrl, u8 linkid,
|
||||
struct cflayer *client);
|
||||
void cfctrl_sleep_req(struct cflayer *cfctrl);
|
||||
void cfctrl_wake_req(struct cflayer *cfctrl);
|
||||
void cfctrl_getstartreason_req(struct cflayer *cfctrl);
|
||||
|
||||
struct cflayer *cfctrl_create(void);
|
||||
void cfctrl_set_dnlayer(struct cflayer *this, struct cflayer *dn);
|
||||
void cfctrl_set_uplayer(struct cflayer *this, struct cflayer *up);
|
||||
struct cfctrl_rsp *cfctrl_get_respfuncs(struct cflayer *layer);
|
||||
bool cfctrl_req_eq(struct cfctrl_request_info *r1,
|
||||
struct cfctrl_request_info *r2);
|
||||
void cfctrl_insert_req(struct cfctrl *ctrl,
|
||||
struct cfctrl_request_info *req);
|
||||
struct cfctrl_request_info *cfctrl_remove_req(struct cfctrl *ctrl,
|
||||
struct cfctrl_request_info *req);
|
||||
void cfctrl_cancel_req(struct cflayer *layr, struct cflayer *adap_layer);
|
||||
|
||||
#endif /* CFCTRL_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue