summaryrefslogtreecommitdiff
path: root/drivers/staging/exfat/exfat.h
diff options
context:
space:
mode:
authorTetsuhiro Kohada <Kohada.Tetsuhiro@dc.MitsubishiElectric.co.jp>2020-02-28 17:40:36 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-04 07:46:34 +0100
commitdbcf85e2728f1d2b36543ae1ed81217b5542589a (patch)
tree7112784c0ecf31ef7d05a048e704a652b86a8f6f /drivers/staging/exfat/exfat.h
parent2777313cf23451136f440d51fa80a6bb66133c63 (diff)
staging: exfat: remove 'file creation modes'
The mode parameter in ffsCreateFile() and create_file() is redundant. Remove it and definition. Signed-off-by: Tetsuhiro Kohada <Kohada.Tetsuhiro@dc.MitsubishiElectric.co.jp> Link: https://lore.kernel.org/r/20200228084037.15123-1-Kohada.Tetsuhiro@dc.MitsubishiElectric.co.jp Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/exfat/exfat.h')
-rw-r--r--drivers/staging/exfat/exfat.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/exfat/exfat.h b/drivers/staging/exfat/exfat.h
index f588538c67a8..c863d7566b57 100644
--- a/drivers/staging/exfat/exfat.h
+++ b/drivers/staging/exfat/exfat.h
@@ -200,9 +200,6 @@ static inline u16 get_row_index(u16 i)
#define ATTR_EXTEND 0x000F
#define ATTR_RWMASK 0x007E
-/* file creation modes */
-#define FM_REGULAR 0x00
-
#define NUM_UPCASE 2918
#ifdef __LITTLE_ENDIAN
@@ -698,7 +695,7 @@ s32 exfat_mount(struct super_block *sb, struct pbr_sector_t *p_pbr);
s32 create_dir(struct inode *inode, struct chain_t *p_dir,
struct uni_name_t *p_uniname, struct file_id_t *fid);
s32 create_file(struct inode *inode, struct chain_t *p_dir,
- struct uni_name_t *p_uniname, u8 mode, struct file_id_t *fid);
+ struct uni_name_t *p_uniname, struct file_id_t *fid);
void remove_file(struct inode *inode, struct chain_t *p_dir, s32 entry);
s32 exfat_rename_file(struct inode *inode, struct chain_t *p_dir, s32 old_entry,
struct uni_name_t *p_uniname, struct file_id_t *fid);