diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-06-04 19:05:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 19:53:52 -0400 |
commit | 504e0e2f3dcac242eb529a01a4b0ea45e4a34eb7 (patch) | |
tree | d8dd3ec676a5f70a96b79f29b446b0a4221bf231 /fs/ntfs | |
parent | 48149e9d3a7e924010a0daab30a6197b7d7b6580 (diff) |
ntfs: remove NULL value assignments
Static values are automatically initialized to NULL.
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Acked-by: Anton Altaparmakov <anton@tuxera.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ntfs')
-rw-r--r-- | fs/ntfs/compress.c | 2 | ||||
-rw-r--r-- | fs/ntfs/super.c | 4 | ||||
-rw-r--r-- | fs/ntfs/sysctl.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/fs/ntfs/compress.c b/fs/ntfs/compress.c index ee4144ce5d7c..f82498c35e78 100644 --- a/fs/ntfs/compress.c +++ b/fs/ntfs/compress.c | |||
@@ -58,7 +58,7 @@ typedef enum { | |||
58 | /** | 58 | /** |
59 | * ntfs_compression_buffer - one buffer for the decompression engine | 59 | * ntfs_compression_buffer - one buffer for the decompression engine |
60 | */ | 60 | */ |
61 | static u8 *ntfs_compression_buffer = NULL; | 61 | static u8 *ntfs_compression_buffer; |
62 | 62 | ||
63 | /** | 63 | /** |
64 | * ntfs_cb_lock - spinlock which protects ntfs_compression_buffer | 64 | * ntfs_cb_lock - spinlock which protects ntfs_compression_buffer |
diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c index 9de2491f2926..6c3296e546c3 100644 --- a/fs/ntfs/super.c +++ b/fs/ntfs/super.c | |||
@@ -50,8 +50,8 @@ | |||
50 | static unsigned long ntfs_nr_compression_users; | 50 | static unsigned long ntfs_nr_compression_users; |
51 | 51 | ||
52 | /* A global default upcase table and a corresponding reference count. */ | 52 | /* A global default upcase table and a corresponding reference count. */ |
53 | static ntfschar *default_upcase = NULL; | 53 | static ntfschar *default_upcase; |
54 | static unsigned long ntfs_nr_upcase_users = 0; | 54 | static unsigned long ntfs_nr_upcase_users; |
55 | 55 | ||
56 | /* Error constants/strings used in inode.c::ntfs_show_options(). */ | 56 | /* Error constants/strings used in inode.c::ntfs_show_options(). */ |
57 | typedef enum { | 57 | typedef enum { |
diff --git a/fs/ntfs/sysctl.c b/fs/ntfs/sysctl.c index 79a89184cb5e..1927170a35ce 100644 --- a/fs/ntfs/sysctl.c +++ b/fs/ntfs/sysctl.c | |||
@@ -56,7 +56,7 @@ static ctl_table sysctls_root[] = { | |||
56 | }; | 56 | }; |
57 | 57 | ||
58 | /* Storage for the sysctls header. */ | 58 | /* Storage for the sysctls header. */ |
59 | static struct ctl_table_header *sysctls_root_table = NULL; | 59 | static struct ctl_table_header *sysctls_root_table; |
60 | 60 | ||
61 | /** | 61 | /** |
62 | * ntfs_sysctl - add or remove the debug sysctl | 62 | * ntfs_sysctl - add or remove the debug sysctl |