Commit 5da64d87 authored by Gibeom Kim's avatar Gibeom Kim Committed by Steve French
Browse files

cifsd: remove stale prototype and variables



Remove unused function prototype and variables.

Signed-off-by: default avatarGibeom Kim <gibeomii.kim@samsung.com>
Signed-off-by: default avatarNamjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 02b68b20
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@
/* @FIXME clean up this code */

extern int ksmbd_debug_types;
extern int ksmbd_caseless_search;

#define DATA_STREAM	1
#define DIR_STREAM	2
+0 −3
Original line number Diff line number Diff line
@@ -123,9 +123,6 @@ void create_mxac_rsp_buf(char *cc, int maximal_access);
void create_disk_id_rsp_buf(char *cc, __u64 file_id, __u64 vol_id);
void create_posix_rsp_buf(char *cc, struct ksmbd_file *fp);
struct create_context *smb2_find_context_vals(void *open_req, const char *str);
int ksmbd_durable_verify_and_del_oplock(struct ksmbd_session *curr_sess,
		struct ksmbd_session *prev_sess, int fid, struct file **filp,
		u64 sess_id);
struct oplock_info *lookup_lease_in_table(struct ksmbd_conn *conn,
		char *lease_key);
int find_same_lease_key(struct ksmbd_session *sess, struct ksmbd_inode *ci,
+0 −2
Original line number Diff line number Diff line
@@ -17,8 +17,6 @@
#define SERVER_CONF_SERVER_STRING	1
#define SERVER_CONF_WORK_GROUP		2

extern int ksmbd_debugging;

struct ksmbd_server_config {
	unsigned int		flags;
	unsigned int		state;
+0 −1
Original line number Diff line number Diff line
@@ -193,7 +193,6 @@ int smb_inherit_dacl(struct ksmbd_conn *conn, struct dentry *dentry,
		unsigned int uid, unsigned int gid);
int smb_check_perm_dacl(struct ksmbd_conn *conn, struct dentry *dentry,
		__le32 *pdaccess, int uid);
int store_init_posix_acl(struct inode *inode, umode_t perm);
int set_info_sec(struct ksmbd_conn *conn, struct ksmbd_tree_connect *tcon,
		struct dentry *dentry, struct smb_ntsd *pntsd, int ntsd_len,
		bool type_check);
+0 −2
Original line number Diff line number Diff line
@@ -71,8 +71,6 @@ int smbConvertToUTF16(__le16 *target, const char *source, int srclen,
char *ksmbd_extract_sharename(char *treename);
#endif

wchar_t cifs_toupper(wchar_t in);

/*
 * UniStrcat:  Concatenate the second string to the first
 *
Loading