Remove an unused structure and unnecessary cast

This commit is contained in:
Kevin Lo 2012-02-24 07:30:44 +00:00
parent a61d3d5a99
commit 19b029a487
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=232100
2 changed files with 1 additions and 3 deletions

View File

@ -36,7 +36,7 @@ typedef u_int16_t wchar;
#pragma pack(1)
#define BBSIZE 1024
#define BBOFF ((off_t)(0))
#define BBLOCK ((daddr_t)(0))
#define BBLOCK 0
#define NTFS_MFTINO 0
#define NTFS_VOLUMEINO 3
#define NTFS_ATTRDEFINO 4

View File

@ -67,8 +67,6 @@ MALLOC_DEFINE(M_NTFSNTNODE,"ntfs_ntnode", "NTFS ntnode information");
MALLOC_DEFINE(M_NTFSFNODE,"ntfs_fnode", "NTFS fnode information");
MALLOC_DEFINE(M_NTFSDIR,"ntfs_dir", "NTFS dir buffer");
struct sockaddr;
static int ntfs_mountfs(register struct vnode *, struct mount *,
struct thread *);
static int ntfs_calccfree(struct ntfsmount *ntmp, cn_t *cfreep);