cxlflash: Make functions static
Found during code inspection, that the following functions are not being used outside of the file where they are defined. Make them static. int cxlflash_send_cmd(struct afu *, struct afu_cmd *); void cxlflash_wait_resp(struct afu *, struct afu_cmd *); int cxlflash_afu_reset(struct cxlflash_cfg *); struct afu_cmd *cxlflash_cmd_checkout(struct afu *); void cxlflash_cmd_checkin(struct afu_cmd *); void init_pcr(struct cxlflash_cfg *); int init_global(struct cxlflash_cfg *); Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com> Signed-off-by: Manoj N. Kumar <manoj@linux.vnet.ibm.com> Reviewed-by: Brian King <brking@linux.vnet.ibm.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>
This commit is contained in:
parent
439e85c1e8
commit
1530551418
|
@ -192,11 +192,6 @@ static inline u64 lun_to_lunid(u64 lun)
|
|||
return swab64(lun_id);
|
||||
}
|
||||
|
||||
int cxlflash_send_cmd(struct afu *, struct afu_cmd *);
|
||||
void cxlflash_wait_resp(struct afu *, struct afu_cmd *);
|
||||
int cxlflash_afu_reset(struct cxlflash_cfg *);
|
||||
struct afu_cmd *cxlflash_cmd_checkout(struct afu *);
|
||||
void cxlflash_cmd_checkin(struct afu_cmd *);
|
||||
int cxlflash_afu_sync(struct afu *, ctx_hndl_t, res_hndl_t, u8);
|
||||
void cxlflash_list_init(void);
|
||||
void cxlflash_term_global_luns(void);
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue